AutoIt Click
Inhaltsverzeichnis
Schema[Bearbeiten]
Description[Bearbeiten]
Sends a mouse click command to a given control.
Input Pins[Bearbeiten]
- AutoItHandle
The handle to the AutoIt server - WindowTitle
The title of the window to click on. - ControlId
The ID of the receiver control
Notes[Bearbeiten]
Some controls will resist clicking unless they are the active window. Use the WinActivate() function to force the control's window to the top before using ControlClick(). Using 2 for the number of clicks will send a double-click message to the control - this can even be used to launch programs from an explorer control!
If the user has swapped the left and right mouse buttons in the control panel, then the behaviour of the buttons is different. "Left" and "right" always click those buttons, whether the buttons are swapped or not. The "primary" or "main" button will be the main click, whether or not the buttons are swapped. The "secondary" or "menu" buttons will usually bring up the context menu, whether the buttons are swapped or not.
Revisions[Bearbeiten]
This block is in the AutoIt Library since 1.0.
Back to AutoIt Library.
Previous: AutoIt [ MenuSelectItem ]
Next: AutoIt [ Send ]