OpenDocument File Command

OPENDOCUMENT File Commands

This opens a document without opening a window.

opendocument [FILE filepath] [FILTER name] [progress]

FILE/s The filename and path of the file.

FILTER/k The filter to use.

Options: IFFDOC (PageStream v3 & v4) | PAGESTREAM2 | PROPAGE | WORDWORTHDOC.

progress/k Toggle to display a progress meter.

Options: STATUS | NOSTATUS (default).

Notes:

If the FILE parameter is not specified, a file selector will open.

If the FILTER parameter is not specified, the appropriate filter will be used.

This command is not equivalent to the menu's Open command. It opens a document file from disk like Open, but does not open a window for the document. To open a window, use the openwindow command. To change the page displayed in an open window, use the display command.

Examples:

opendocument 'PageStream:Documents/Project' status

opendocument filter 'PGS2.filter'

 

OpenDocument  Command Definition  url:PGScmd/opendocument
  created:2006-03-30 17:26:09   last updated:2006-03-30 17:26:09
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For OpenDocument
Dan Kilroy wrote...2006-05-04 16:35:22

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

Gets the {...} .

OpenDocument ([ASK | FILE "file"] [FILTER filtername] [STATUS | NOSTATUS])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For OpenDocument