Command Reference - Window Actions
Moves a window to a specific X and Y coordinate on the screen.
You can also use this action to resize a window to a specific width and height.
|
Action ID: |
128 |
An integer value that represents the "handle" of the window (or program) on the user's desktop that you want to move or resize. The hWnd value can be determined using a "Window - Find" action, or the built-in variable %MenuHWnd% (which is the hWnd value for the AutoPlay application's window) can be used.
X coordinate:
Enables the X Coordinate setting.
Select this option if you want to change the horizontal position of the window.
The new X coordinate for the top left corner of the window. This will be the distance in pixels from the left edge of the user's screen to the left edge of the window.
Y coordinate:
Enables the Y Coordinate setting.
Select this option if you want to change the vertical position of the window.
The new Y coordinate for the top left corner of the window. This will be the distance in pixels from the top of the user's screen to the top of the window.
Height:
Enables the Height setting.
Select this option if you want to change the height of the window.
The new height for the window, in pixels.
Width:
Enables the Width setting.
Select this option if you want to change the width of the window.
The new width for the window, in pixels.
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_WINDOW_MOVE |
MSG_ERR_WINDOW_MOVE |
|
2 |
MSG_ERR_WINDOW_MOVE |
MSG_ERR_WINDOW_MOVE |