GetPageMasterpage Document Query Command

GETPAGEMASTERPAGE Document Queries

Gets the master page name for a page, whether its objects are shown and whether they're shown in front or in back of objects on the page itself.

getpagemasterpage [MASTERPAGE name] [SIDE name] DEPTH level] [PAGE number | DOCUMENT name | WINDOW name]

MASTERPAGE/s Gets the master page name.

SIDE/k Gets the master page side (for double- sided pages).

DEPTH/k Gets the object depth.

PAGE The page number. Default=current.

DOCUMENT The document name.

WINDOW The window name.

Results:

Returns the master page object dislay status (ON|OFF)

to RESULT.

MASTERPAGE/s The name of the master page.

SIDE/k The master page side: LEFT|CENTER|RIGHT.

DEPTH/k The object depth: INFRONT|INBACK.

Examples:

getpagemasterpage masterpage name page 5
say 'The master page for the current page is '||name

 

GetPageMasterpage  Command Definition  url:PGScmd/getpagemasterpage
  created:2006-03-30 22:20:07   last updated:2006-03-30 22:20:07
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetPageMasterpage
Dan Kilroy wrote...2006-05-03 19:07:10

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

Gets the {...} .

flag<ON|OFF> = GetPageMasterPage ([MASTERPAGE &mpname] [SIDE &side<LEFT|CENTER|RIGHT>] [DEPTH &depth<INFRONT|INBACK>] [PAGE document:...-pagenum | DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetPageMasterpage