Mouse Event

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
Mouse events include the following:
 
Mouse events include the following:
 +
 
Right Click
 
Right Click
 +
 
Left Click
 
Left Click
 +
 
Double Click
 
Double Click
 +
 
Left Mouse Up
 
Left Mouse Up
 +
 
Left Mouse Down
 
Left Mouse Down
 +
 
Right Mouse Up
 
Right Mouse Up
 +
 
Right Mouse Down
 
Right Mouse Down
  

Revision as of 15:48, 14 April 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", "Skype™ (BETA) - lilly.turin", "tSkMainForm")
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.

File:Mouseevent.png

Additional Information

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox