The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle Extras (http://forums.omnigroup.com/forumdisplay.php?f=7)
-   -   Elements in OG that aren't scriptable? (http://forums.omnigroup.com/showthread.php?t=13915)

browniejr 2009-09-19 10:32 AM

Elements in OG that aren't scriptable?
 
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.


All times are GMT -8. The time now is 10:11 PM.

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