Mouse Event
From UBot Studio
(Difference between revisions)
(→Example) |
(→Example) |
||
Line 30: | Line 30: | ||
− | [[File: | + | [[File:wmouse.jpg]] |
== Additional Information == | == Additional Information == |
Revision as of 15:31, 29 September 2013
This command sends a mouse event to a specified window.
Mouse Event is a Windows Command.
Mouse events include the following:
- Right Click
- Left Click
- Double Click
- Left Mouse Up
- Left Mouse Down
- Right Mouse Up
- Right Mouse Down
Example
plugin command("WindowsCommands.dll", "set active window", "Windows Media Player", "WMPlayerApp") plugin command("WindowsCommands.dll", "mouse event", "Right Click")
The example script will set the skype window as the active window and right click in the specified location.
Additional Information
You will need to re-choose your windows to run the script.