Mouse Event

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
(Example)
Line 30: Line 30:
  
  
[[File:mouseevent.png]]
+
[[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.


Wmouse.jpg

Additional Information

You will need to re-choose your windows to run the script.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox