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 Today's Posts

 
Order of creating shapes within a tell canvas Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I'm using a shell script to generate applescript to produce a number of figures. The figures contain filled shapes which must be logically in front of other shapes and lines. I'm relying on the filling property of front shapes to hide the lines and so forth that are behind them.

For each figure, the script puts out a “make new document... tell canvas...” followed by a number of “make new line...” and “make new shape” commands.

What I've observed is that when this script is executed (by osascript), the first-drawn shapes and lines end up in front. That is, in order to get the precedence I need, I have to reverse the order one would use if doing it by hand, and put out what I want to be in front of everything first, and what I want to be behind everything last. It's not a big deal, but I did need to scratch my head a bit to figure out what was going on.

My question is: is this going to stay this way (i.e., it's a feature, not a bug), or is this something that will be corrected at some point (i.e., I'll need to be ready to change my scripts)?

Greg
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating single header and footer per canvas bullwrinkle OmniGraffle General 0 2012-05-02 10:49 AM
Creating connecting shapes claumann OmniGraffle General 0 2010-07-05 01:24 PM
Creating 3D shapes nigelbeatty OmniGraffle General 1 2009-08-27 04:18 AM
Outline sidebar--will its order affect canvas? santra OmniGraffle General 3 2008-11-07 03:48 AM
How do I iterate over ALL shapes in a canvas? supertwang@yahoo.com OmniGraffle Extras 1 2007-08-20 09:59 AM


All times are GMT -8. The time now is 06:12 PM.


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