The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Apple Script or Other controls Thread Tools Search this Thread Display Modes
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.
"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 was wondering if there was any other way we could communicate that would prevent him from having to do all the work aft wards.
 
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.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Omnigraffle 5.4 - Apple Script Font Issue marxes OmniGraffle General 6 2012-06-13 10:17 AM
Job $$ : Apple Script to backup each context separately smartmobilesoftware AppleScripting Omni Apps 2 2010-04-04 06:50 AM
I need some help with apple script and excel journeywright AppleScripting Omni Apps 0 2009-05-10 05:37 PM
Apple Script for layer visibility in OmniGraffle Pro 4? nicoledb OmniGraffle General 0 2009-02-04 08:52 AM
How to assign a shortcut to an Apple Script? Tinchohs OmniFocus Extras 2 2007-12-16 08:18 PM


All times are GMT -8. The time now is 07:31 AM.


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