app_click
Click a Windows application at screenshot pixel coordinates by specifying its window title. Automates button presses, double-clicks, and right-clicks on GUI controls.
Instructions
Click on a Windows application window at the given coordinates.
Coordinates use screenshot pixels — take a screenshot_app first to identify where to click, then use those pixel coordinates here.
Uses PostMessage with automatic child window targeting so clicks reach the correct control (buttons, edits, etc.).
Args: window_title: Full or partial window title (case-insensitive). x: X coordinate in screenshot pixels. y: Y coordinate in screenshot pixels. button: 'left' (default) or 'right'. double_click: If True, send a double-click.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| button | No | left | |
| double_click | No | ||
| window_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |