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 Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Elements in OG that aren't scriptable? Thread Tools Search this Thread Display Modes
I am attempting to have Applescript add a note and enter some data in a graphic. Using the "copy as Applescript," (GREAT feature, btw), I have tried to let the program tell me how to do it, but these elements 'don't copy' into the Applescript editor.

I was able to add a note to my graphic by fooling around in the Applescript editor, but the "data key" and "data value" fields seem inaccessible. Is this by design?
The following is the portion of the script that sets the note:
set notes of group -1 to {text:"Enter Note Here EventCode: EnterEventCode Probability = TBD", font:"Tahoma", size:10, alignment:justified}

(I would like to set the "Event Code" and "Probability" as data values for the object below the note, but have resorted to the above to at least get something set in the object that I can edit later)

The Applescript editor seems to compile the word "key" just fine, but when running the script, it generates an error. Are they not accessible, or is there some element that I am missing?

I am using Omnigraffle Pro 5.2.1 beta.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Row Style Elements OO3 Simon Knight AppleScripting Omni Apps 3 2013-05-17 10:46 PM
Disconnect elements trinix OmniGraffle General 0 2011-06-04 02:03 AM
Copying or Duplicating Elements Drted OmniOutliner for iPad 1 2011-05-22 01:01 AM
Aqua Elements? Flounder OmniWeb Feature Requests 4 2007-05-29 02:17 PM
Web Page Elements Stencils bryanjbusch OmniGraffle Extras 1 2006-06-01 08:24 AM


All times are GMT -8. The time now is 03:35 PM.


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