![]() ![]() For complete information, see Working With Application Objects and Controls. Besides the described methods, different program objects, that are used to work with custom controls and menus have their specific actions and methods to simulate user actions on them. You can use these methods to emulate " hold and click" actions, as well as to simulate mouse clicks at any position on screen. ![]() You can also simulate mouse clicks by using the MouseDown and MouseUp methods of the Desktop object or the MouseDown and MouseUp methods of the LLPlayer object. The click, double-click and drag actions have an additional parameter that specifies the keys or a combination of keys ( Ctrl, Alt, Shift) that are pressed during simulating an event. HoverMouse - Simulates moving the mouse pointer to the specified position within an object.Įach of these actions have parameters that specify window-related coordinates of the event. To simulate clicks, double-clicks, dragging and hovering (hot-tracking) operations, each onscreen object provides the following methods:Ĭlick, ClickR, ClickM - Simulates a single click performed with the left, right or middle mouse button.ĭblClick, DblClickR, DblClickM - Simulates a double-click performed with the left, right or middle mouse button.ĭrag, DragR, DragM - Simulates a dragging operation performed with the left, right or middle mouse button. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |