SetWindowDefaults System Command

SETWINDOWDEFAULTS System Commands

Sets the size and position of the default document window.

setwindowdefaults [AT x y] [SIZE width height] [SAVE]

AT/i Sets the window position in pixels.

SIZE/i Sets the window size in pixels.

SAVE Saves to the PageStream3 Preferences file.

Notes:

If the AT pointy coordinate is set to -1, the window will open immediately below the screen title bar, regardless of the screen font height. If either SIZE coordinate is set to 10000, the window will open at the maximum size of the screen in that direction.

This command does not affect open document windows. It sets the position and size of future document windows. Use the SETWINDOWPOS command to set the position and size of open document windows.

Examples:

setwindowdefaults at 0 -1 size 640 10000

setwindowdefaults at 0 -1 save

 

SetWindowDefaults  Command Definition  url:PGScmd/setwindowdefaults
  created:2006-03-31 10:53:01   last updated:2006-03-31 10:53:01
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetWindowDefaults
Dan Kilroy wrote...2006-05-04 15:05:25

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetWindowDefaults ([AT x y] [SIZE width height] [SAVE])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetWindowDefaults