The Blog

Comments

Very nice! This is exactly the kind of thing I was looking for just the other day. Thanks!

Dennis

06.01.09 6:15 AM

thanks.. very good information

Sohbet

06.01.09 8:00 AM

This is great, but it would be *even greater* if I could script up that multi-step export/import/export process. I looked in the scripting dictionary for Omnigraffle Professional 5 and didn't see a way to accomplish that.


There is an “import” command, and an “export settings” type, but I didn't see an “export” command. Am I missing something?

Brian Hardy

06.03.09 1:15 AM

There is an “import” command, and an “export settings” type, but I didn’t see an “export” command. Am I missing something?


Brian, you can export using AppleScript by passing additional parameters to the “save” command, e.g.:

save in “/tmp/foo.png” as “png”


Hope this helps!

 

Ken Case

06.03.09 8:20 AM

Thanks, Ken.


Is there a way to specify alternate export settings when exporting via “save”? I see that the application object has a “current export settings” property, but it is read only.


I'll admit to being an AppleScript newbie.

Brian Hardy

06.04.09 1:06 AM
Commenting is not available in this channel entry.