RevertDocument File Command

REVERTDOCUMENT File Commands

This reopens the last saved version of a document, cancelling changes that have been made.

revertdocument [FILTER name] [progress] [mode] [DOCUMENT name | WINDOW name]

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).

mode/k The user prompt mode for unsaved documents.

Options: FORCE|ALERT (default) | QUIET.

Force ignores the saved status, alert opens an alert box if it has been changed, and quiet ignores the saved status but returns an error if the document had not been saved.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Notes:

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

Examples:

revertdocument status quiet

revertdocument filter 'PGS2.filter'

 

RevertDocument  Command Definition  url:PGScmd/revertdocument
  created:2006-03-30 20:08:13   last updated:2006-03-30 20:08:13
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For RevertDocument
Dan Kilroy wrote...2006-05-04 16:35:47

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

Gets the {...} .

RevertDocument ([STATUS | NOSTATUS] [FORCE | ALERT] [FILTER filtername] [DOCUMENT document | WINDOW document-window])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For RevertDocument