Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Timeout (seconds)NumberNo60How long to wait for the Ctrl+Shift+C press, in seconds.

Outputs​

OutputTypeWhat it is
xNumberHorizontal position from the window's left edge.
yNumberVertical position from the window's top edge.
screen_xNumberHorizontal position from the screen's left edge.
screen_yNumberVertical position from the screen's top edge.
windowStringTitle of the window under the pointer; empty over the desktop.
window_widthNumberThe window's outer width.
window_heightNumberThe window's outer height.