SaveDocument File Command

SAVEDOCUMENT File Commands

This saves an open document.

savedocument [FILTER name] [TEMPLATE] [progress] [mode] [DOCUMENT name]

DEFAULT Saves using the existing filename and path.

FILE/s The filename and path to which to save.

FILTER/s The filter to use.

Options: IFFDOC

(default).

TEMPLATE/k Saves the document as a template.

progress/k Toggle to display a progress meter.

Options: STATUS | NOSTATUS (default).

mode/k The user prompt mode.

Options: FORCE | ALERT | QUIET (default).

Force overwrites without asking for confirmation, alert opens an alert box for confirmation, and quiet overwrites without confirmation but returns an error if a file is overwritten.

DOCUMENT The document name. (Default=current)

Notes:

If DEFAULT is used and the file has not been previously saved, the file dialog box will open.

Examples:

savedocument file 'Documents:Project' status

savedocument default nostatus force

 

SaveDocument  Command Definition  url:PGScmd/savedocument
  created:2006-03-31 10:52:51   last updated:2006-03-31 10:52:51
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SaveDocument
Dan Kilroy wrote...2006-05-04 16:35:34

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

Gets the {...} .

SaveDocument ([ASK | FILE "file" | DEFAULT] [FILTER filtername] [STATUS | NOSTATUS] [QUIET | FORCE | ALERT] [TEMPLATE] [DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SaveDocument