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

 
Applescript and layers strangeness Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hello Grafflers,

Executing this line of my script:

get every graphic of layer 1 of canvas of front_doc

gives:

{{graphic id 320 of canvas id 1 of document "webLayout2" of application "OmniGraffle Professional 5"}}

when I know this graphic is in layer 2. It's the red graphic in the attached png, if that shows up. The png shows that layer 2 contains only 1 graphic which is the one I'm after. Layer 1 contains all the other un-coloured shapes. Why is Applescript saying the red shape is in layer 1? I have a workaround (swap the layers around) but I'm puzzled by this behaviour. Any thoughts anyone?

Cheers,
Captain Fatty
Attached Thumbnails
Click image for larger version

Name:	graffle error.png
Views:	421
Size:	10.6 KB
ID:	1329  
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Standard Layers to Shared Layers PRV OmniGraffle General 3 2009-07-07 09:48 AM
due date strangeness in latest peek ? ext555 OmniFocus 1 for Mac 0 2008-10-09 02:39 AM
Number of layers? abh19 OmniGraffle General 1 2008-09-19 10:58 PM
The "Due within the next week" strangeness FlyingBarney OmniFocus 1 for Mac 7 2008-07-04 04:31 PM
Bookmark Strangeness MrWynn OmniWeb Bug Reports 1 2007-03-05 04:15 PM


All times are GMT -8. The time now is 01:03 AM.


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