I'm trying:
A lot of the scripts from the community I am reading use
repeat with obj in selection
but I am trying to find items that I've previously drawn via AppleScript (in order to connect them later with lines). Sure wish Applescript had an associative dictionary, but, I'm looking for a brute-force search for an item that I've tagged with a string, to suffice.
Thanks for any help anyone can provide in deep-iterating over all of the shapes in a canvas (grouped or ungrouped).
Dave
tell application "OmniGraffle Professional 4"but am finding that objects disappear from the graphics list when they have been grouped. I'm not good enough at Applescript or Omnigraffle to figure out how to dive into all of the groups. Can anyone help me?
tell canvas of front windowend tell
repeat with obj in graphicsend tell
blah blah do somethingend repeat
A lot of the scripts from the community I am reading use
repeat with obj in selection
but I am trying to find items that I've previously drawn via AppleScript (in order to connect them later with lines). Sure wish Applescript had an associative dictionary, but, I'm looking for a brute-force search for an item that I've tagged with a string, to suffice.
Thanks for any help anyone can provide in deep-iterating over all of the shapes in a canvas (grouped or ungrouped).
Dave
Last edited by supertwang@yahoo.com; 2007-07-26 at 06:04 PM..