mouse action

Allows you to assign a mouse action to an indicated window and position.


Example

Running this code will run a "Left Click" mouse action on the window "Google Translate - Google Chrome" with the following position and properties:

  • Windows Class: Chrome_WidgetWin_1
  • Position X: 1407
  • Position Y: 901
  • Human: True
  • Step: 100
plugin command("Desktop Automation.dll", "mouse action", "Mouse Left Click", "Google Translate - Google Chrome", "Chrome_WidgetWin_1", 1407, 901, "True", 100)

Was this helpful?

Previous Article

get color code

Next Article

mouse drag and drop