CurrentMasterpage Document Query Command

Gets the name of the current master page.

currentmasterpage [DOCUMENT name | WINDOW name]

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name.

Results:

The name is returned to RESULT.

Examples:
ARexx:

currentmasterpage

 

CurrentMasterpage  Command Definition  url:PGScmd/currentmasterpage
  created:2006-03-30 10:07:13   last updated:2006-08-18 11:22:15
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For CurrentMasterpage
Dan Kilroy wrote...2006-05-03 18:36:38

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

Gets the {...} .

mpname = CurrentMasterPage ([MASTERPAGE document:...-masterpage | DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

Tim Doty wrote...2006-08-08 16:55:30

The masterpage name is returned in '.result', as in:

Python:

>>> print CurrentMasterpage()
{'.error': 1, '.result': 'Default Master Page'}

User Contributed Comments For CurrentMasterpage