Skip to main content

Move Window

Command description

Moves the specified window to a screen position.

Command Input Parameters

input parametersInput parameter typeDescription
Retrieval MethodenumWindow Object, Title, Window Containing Element, Window Handle
WindowWindowInstanceWindow to move. Required when Retrieval Method is Window Object
TitlestrText contained in the target window's title. Required when Retrieval Method is Title
ElementWinElement or str (captured element UID, not element name, not ms-rpa-id)Element contained in the target window. Required when Retrieval Method is Window Containing Element. Select a captured element or use Get Desktop Element, Get Similar Desktop Elements, or Get Related Desktop Elements
Window Handleint or strHandle of the target window. Required when Retrieval Method is Window Handle
X Coordinateint or strTarget horizontal screen coordinate
Y Coordinateint or strTarget vertical screen coordinate

Command Output Parameters

None

Type definition reference