Re: AppleScript support for Export?

Ken Case <[email protected]>
Newsgroups gmane.comp.graphics.omnigraffle.user
Message-ID <[email protected]>
On May 27, 2010, at 12:39 PM, Wayne Brissette wrote:
> I looked through the OG Pro dictionary and didn't see any option to export an image (only save). Am I missing something?

The "save" command is what you're looking for, though how to use it probably as obvious as it could be.  Simply specify the file you want to save into, and OmniGraffle will export into the appropriate format based on its file extension:

	save front document in "/tmp/test.png"
	save front document in "/tmp/test.pdf"
	save front document in "/tmp/test.jpeg"
	save front document in "/tmp/test.vdx" -- this is Visio XML

Hope this helps!

				Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.