Macro Language Reference > Macros > Window > wmv
  
wmv
Description
Moves a document window to a specific position on the screen.
 
Example 340. Move a document window to a specific position
The macro will move the first window opened in the current PTC ALD session to coordinates (50,30). The window will be redrawn to a size of 500 x 100 pixels after the move:
wmv 1,50,30,500,100
Syntax
wmv window:n x, y:n width:n height:n
window
The number of the window to be moved.
x, y
The coordinates for the top left-hand corner of the redrawn window, specified in pixels
width
The width of the redrawn window, specified in pixels.
height
The height of the redrawn window, specified in pixels.