MoveSize Method

Repositions an application window.  Corresponds to the MoveSize action.

System.MoveSize([Application][, Left][, Top][, Width][, Height])

Client support

   Newlook Smartclient only.

Use

This action can be useful if you wish to display the Smartclient window at a specific size.

Arguments

Application - (String, Optional)

String value that specifies the name of the application to move or size. Newlook attempts to find this application in two ways. It enumerates the top-level windows and will match either the first window found whose program name matches the Application parameter (e.g. Notepad.exe) or if the window’s title matches the Application parameter (e.g. "Untitled – Notepad"). If no application is found, then no window is minimized. If this parameter is left blank, then the current Newlook session window is assumed.

Left - (Integer, Optional)

Integer value specifying the left coordinate of the new window position.  If Left is not specified the current left coordinate is used.

Top - (Integer, Optional)

Integer value specifying the top coordinate of the new window position.  If Top is not specified the current top coordinate is used.

Width - (Integer, Optional)

Integer value specifying the width of the new window position.  If Width is not specified the current width is used.

Height - (Integer, Optional)

Integer value specifying the height of the new window position.  If Height is not specified the current height is used.

Returns

No return value.

Applies To

System object

See Also

MoveSize action | Minimize method | Maximize method


© 2004-2021 looksoftware. All rights reserved.