Mouse Event
From UBot Studio
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", "move mouse", "Windows Media Player", "WMPlayerApp", 293, 200) plugin command("WindowsCommands.dll", "mouse event", "Right Click")
The example script will set the chosen 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.