The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Apple Script or Other controls (http://forums.omnigroup.com/showthread.php?t=28472)

fmpdan 2013-02-25 05:46 AM

Apple Script or Other controls
 
I have a customer that uses AppleScript generated through FileMaker Pro to send information to create a temple to OmniGraffle. It works fine as far as the setting the length and width and radius corner information. But the default paper size is always letter and they print to a large format printer and templates can be up to 24 inches wide. Here is his description of the problem.
"[I]Once Omnigraffle has a template, I just print it and use the printed template to cut the parts. However, the problem exists that the default paper size is always letter size paper, and our templates can be up to 24" wide. I therefore have to take the template created in letter size and completely rejigger it for the size paper needed. This involves changing the paper size, moving the template around to get it more centered (if its too close to an edge, that line won't print) and removing all the paper size end of page markers. This is a daily time suck for every order set. It would be nice if the correct sizing was generated on the correct paper size, but no one has been able to get Omnigraffle to cooperate.[/I]"

I was wondering if there was any other way we could communicate that would prevent him from having to do all the work aft wards.

whpalmer4 2013-02-25 07:57 AM

Why not set the default document template in OmniGraffle to have the desired print settings? Or have the script create a document from a template with the desired print settings:


set myDoc to make new document with properties {template:"/Users/whp4/Desktop/OGtest.gtemplate"}

According to the dictionary, one should be able to do something like

set myDoc to make new document with properties {template:<templatename>}

but I just got errors when I tried that. More bit rot in the Applescript support, perhaps.


All times are GMT -8. The time now is 04:32 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.