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

 
relative positions for shapes in applescript Thread Tools Search this Thread Display Modes
hello...
i just found out how powerful applescript with omnigraffle is and played a bit around with it. But after a few hours i got a problem that i couldn't solve. maybe someone has an idea.

I have an applescript that draws some shapes into a diagram.
The position of that shapes is given by absolute coordinates e.G. 0/0. This is very unhandy if I want to use that script in a big diagram when I'm just editing an other area than that around 0/0. For example say I'm just editing my diagram on coord 1234/1234 (this is maybe on page 2), when I apply my script, I have to go back to 0/0 to grab my stuff and place it where i currently were. I would like my script to position the shapes relative to my current position in the diagram.

Is there any chance to draw relative to my current position, or to get the absolute position of my current viewport?

thanks for your help!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Position Image on an Object in a Relative Positon So It Maintains Relative Position but no Resize acowan OmniGraffle General 5 2013-01-08 01:04 PM
Is there a way to save positions of inspectors ? RicouLBF OmniGraffle General 1 2012-06-08 11:32 AM
Applescript - 2 problems in linking two shapes with a line RobTrew OmniGraffle General 4 2011-06-09 10:38 AM
Applescript to turn an xml file into a tree of shapes ianpiper OmniGraffle General 2 2008-06-16 07:04 PM
Applescript first steps. Joining shapes with a curvy line ivanrostas OmniGraffle General 0 2007-10-31 03:08 AM


All times are GMT -8. The time now is 05:38 AM.


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