Pick a point on screen
Design time: point at a place in any window and press Ctrl+Shift+C. Gives the point on the screen and measured from the window's top-left corner, with the window's title and size, for mouse steps.
Command in the Window toolkit · id ooa.window/pick_point · 1 input, 7 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Timeout (seconds) | Number | No | 60 | How long to wait for the Ctrl+Shift+C press, in seconds. |
Outputs
| Output | Type | What it is |
|---|---|---|
| x | Number | Horizontal position from the window's left edge. |
| y | Number | Vertical position from the window's top edge. |
| screen_x | Number | Horizontal position from the screen's left edge. |
| screen_y | Number | Vertical position from the screen's top edge. |
| window | String | Title of the window under the pointer; empty over the desktop. |
| window_width | Number | The window's outer width. |
| window_height | Number | The window's outer height. |