SetViewDefaults System Command

SETVIEWDEFAULTS System Commands

Changes the default view options.

setviewdefaults [SCALE ] [SCALERANGE min max] [GRID status] [SNAPTOGRID status] [GRIDCOLOR red green blue] [DISPLAYGIRD status] [GUIDES status] [SNAPTOGUIDES status] [PAGEGUIDECOLOR red green blue] [RULERGUIDECOLOR red green blue] [DISPLAYGUIDES status] [PAGECOLOR red green blue] [PAGESHADOWCOLOR red green blue] [PAGEBORDERCOLOR red green blue] [PASTEBOARDCOLOR red green blue] [DRAWINGS status] [OUTLINE status] [TEXTLINKS status] [INVISIBLES status] [RULER status] [PICTURES status] [SAVE]

custom/d The custom view percentage.

preset/k The view magnification to set.

Options: FULLPAGE | FULLPAGEWIDTH | FULLPAGEHEIGHT | FULLPASTEBOARD | FULLPASTEBOARDWIDTH | FULLPASTEBOARDHEIGHT | LASTUSED.

SCALERANGE/d The minimum and maximum view scale.

GRID/k The grid display status.

Options:show | hide |toggle.

SNAPTOGRID/k The snap-to-grid status.

Options: on | off | toggle.

GRIDCOLOR/i The red, green and blue components

of the grid color. Range: 0-255.

DISPLAYGRID/k The grid depth.

Options: infront | inback | toggle.

GUIDES/k The guides display status.

Options: show | hide | toggle.

SNAPTOGUIDES/k The snap-to-guides status.

Options: on | off | toggle.

PAGEGUIDECOLOR/i The RGB components of the page guide color. Range: 0-255.

RULERGUIDECOLOR/i The RGB components of the ruler guide color. Range: 0-255.

DISPLAYGUIDES/k The guide depth.

Options: infront | inback | toggle.

PAGECOLOR/i The RGB components of the page color. Range: 0-255.

PAGESHADOWCOLOR/i The RGB components of the page shadow color. Range: 0-255.

PAGEBORDERCOLOR/i The RGB components of the page border color. Range: 0-255.

PASTEBOARDCOLOR/i The RGB components of the pasteboard color. Range: 0-255.

DRAWINGS/k The drawings display status.

Options: show | hide | toggle.

OUTLINE/k The column outlines display status.

Options: show | hide | toggle.

TEXTLINKS/k The text links display status.

Options: show | hide | toggle.

INVISIBLES/k The invisibles display status.

Options: show |hide | toggle.

RULER/k The rulers display status.

Options: show |hide | toggle.

PICTURES/k The pictures display status.

Options: show | hide | toggle.

SAVE Saves to the PageStream3 Preferences file.

Notes:

The TOGGLE parameter may not be used in conjunction with the SAVE parameter.

Examples:

setviewdefaults scale 50 grid hide pictures show save

 

SetViewDefaults  Command Definition  url:PGScmd/setviewdefaults
  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 SetViewDefaults
Dan Kilroy wrote...2006-05-03 20:31:21

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

Gets the {...} .

SetViewDefaults ([SCALE <FULLPAGE|FULLPASTEBOARD|FULLPAGEWIDTH|FULLPASTEBOARDWIDTH |FULLPAGEHEIGHT|FULLPASTEBOARDHEIGHT|customscale>] [SCALERANGE minscale maxscale] [GRID <SHOW|HIDE|TOGGLE>] [DISPLAYGRID <INBACK|INFRONT|TOGGLE>] [GUIDES <SHOW|HIDE|TOGGLE>] [DISPLAYGUIDES <INBACK|INFRONT|TOGGLE>] [RULER <SHOW|HIDE|TOGGLE>] [PAGECOLOR red green blue] [PAGEBORDERCOLOR red green blue] [PAGESHADOWCOLOR red green blue] [PASTEBOARDCOLOR red green blue] [GRIDCOLOR red green blue] [GRIDSIZE num] [PAGEGUIDECOLOR red green blue] [RULERGUIDECOLOR red green blue] [PICTURES <SHOW|HIDE|TOGGLE>] [DRAWINGS <SHOW|HIDE|TOGGLE>] [OUTLINE <SHOW|HIDE|TOGGLE>] [TEXTLINKS <SHOW|HIDE|TOGGLE>] [INVISIBLES <SHOW|HIDE|TOGGLE>] [PGS50:WIREFRAME <SHOW|HIDE|TOGGLE>] [SNAPTOGRID <ON|OFF|TOGGLE>] [SNAPTOGUIDES <ON|OFF|TOGGLE>] [SAVE])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

Tim Doty wrote...2006-06-03 13:00:03

The command must be bracketed by capture prefs commands or it will be ignored.

Code:

BEGINPREFCAPTURE
SETUNDOLEVELS 40
SETPASTEINCENTER ON
ENDPREFCAPTURE

User Contributed Comments For SetViewDefaults