CurrentDocument Document Query Command

Gets the name of the current document.

currentdocument [WINDOW name]

WINDOW/s The window name. Default=current.

Results:

The name is returned to RESULT.

Examples:
ARexx:

currentdocument

 

CurrentDocument  Command Definition  url:PGScmd/currentdocument
  created:2006-03-30 10:07:13   last updated:2006-08-18 11:21:57
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For CurrentDocument
Dan Kilroy wrote...2006-05-04 15:07:54

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

Gets the {...} .

docname = CurrentDocument ([DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For CurrentDocument