NEWMASTERPAGE Document Commands
Creates a new master page in a document or chapter.
newmasterpage [orientation]
[sides] [spread] [CHAPTER name | WINDOW name]
name/s The new master page name.
width/d The master page width.
height/d The master page height.
orientation/k The orientation: PORTRAIT (default) | LANDSCAPE.
sides/k The number of sides: SINGLE (default) | DOUBLE.
spread/k The facing pages setting: FACING | INDIVIDUAL.
CHAPTER/s The document/chapter name.
Default=current.
WINDOW/s The window name. Default=current.
Notes:
This command is not equivalent to the menu's Master Page Setup
command. To set all the options in that dialog box you must also
use the setmarginguides and setcolumnguides commands. The parameters
set in this command can be changed later with the setdimensions
command.
Examples:
newmasterpage 'Columnar' 8.5 11 landscape double
NewMasterPage Command Definition url:PGScmd/newmasterpage created:2006-03-30 17:19:29 last updated:2006-03-30 17:19:29 Copyright 2001-2009 GrasshopperLLC | User Contributed Comments For NewMasterPage | sign in to add a comment |
| Dan Kilroy wrote... | 2006-05-03 18:35:07 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Create the {...} . newmasterpagename = NewMasterPage (masterpagename pagew pageh [PORTRAIT | LANDSCAPE] [SINGLE | DOUBLE] [FACING | INDIVIDUAL] [DOCUMENT document | CHAPTER document:... | WINDOW document-window]) Parameters:
Results: As of 5.0.3.4, returns the master page name. The only time this would be different than the requested name is if a master page by that name already exists.
Notes:
See Also:
Examples: Python:
ARexx: Applescript:
|
| Tim Doty wrote... | 2006-08-09 19:00:27 |
Note, the return value is meaningless for this command (unlike say NewDocument which returns the actual document name). Check for .error to see if there was a problem. |
| User Contributed Comments For NewMasterPage | sign in to add a comment |
|