Tag Archive: mouse

Apr 10 2008

Getting the Current Mouse Cursor

Sometimes, you can only tell when an AUT operation has ended by checking the windows mouse cursor – is it an hourglass, or a simple arrow.   The following code allows your to get the integer code of the mouse icon: ‘These come once, in the top of the script extern.Declare micLong,”GetForegroundWindow”,”user32.dll”,”GetForegroundWindow” extern.Declare micLong,”AttachThreadInput”,”user32.dll”,”AttachThreadInput”, micLong, …

Continue reading »

Apr 01 2008

Where is my Mouse?

The System.Windows.Forms.Control Class Defines the base class for controls, which are components with visual representation. The Control.MousePosition Property gets the position of the mouse cursor in screen coordinates. The property returns a Point that contains the coordinates of the mouse cursor relative to the upper-left corner of the screen. The MousePosition property returns a Point …

Continue reading »