CurrentWindowPath Document Query Command

Gets the full path of the current window. The path is: [documentname~]windowname

currentwindowpath [WINDOW name]

WINDOW/s The window name. Default=current.

Results:

The path is returned to RESULT.

Examples:
ARexx:

currentwinpath

 

CurrentWindowPath  Command Definition  url:PGScmd/currentwindowpath
  created:2006-03-30 10:07:13   last updated:2006-08-18 11:24:01
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For CurrentWindowPath
Dan Kilroy wrote...2006-05-04 17:14:34

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

Gets the {...} .

winpath = CurrentWindowPath ([WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

Tim Doty wrote...2006-08-08 16:54:05

The window path is returned in '.result', as in:

Python:

>>> print CurrentWindowPath()
{'.error': 1, '.result': 'untitled~view 1'}

User Contributed Comments For CurrentWindowPath