ExportGraphic File Command

EXPORTGRAPHIC File Commands

This exports a graphic object.

exportgraphic [FILE filepath] [FILTER name] [progress] [mode] [DOCUMENT name | WINDOW name | OBJECTID number]

FILE/s The filename and path of the file to export.

FILTER/k The filter to use.

Options: PICT | TIFF | IFFILBM|GIF | BMP | IFFDR2D | IFFILUS | JPEG.

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/s The document name. Default=current.

WINDOW/s The window name. Default=current.

OBJECTID/i The number of the object to edit.

Default=current.

Notes:

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

If the FILTER parameter is not specified, the Place Graphic dialog box will open.

Examples:

exportgraphic file Ram:Snapshot filter iffilbm status

 

ExportGraphic  Command Definition  url:PGScmd/exportgraphic
  created:2006-03-30 14:03:54   last updated:2006-03-30 14:03:54
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For ExportGraphic
Dan Kilroy wrote...2006-05-04 16:36:43

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

Gets the {...} .

ExportGraphic ([FILE "file"] [FILTER filtername] [STATUS | NOSTATUS] [QUIET | FORCE | ALERT] [DOCUMENT document | WINDOW document-window | ID id])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

Tim Doty wrote...2009-02-08 10:49:16

filter also includes PNG and JPEG2000

Also something for Adobe Illustrator...

User Contributed Comments For ExportGraphic