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

 
Trying to draw labeled arrow with Applescript Thread Tools Search this Thread Display Modes
In OmniGraffle 3.2.4 the following script gets NSInternalScriptError when it gets to "make new label..."

Can anyone give me a clue?


tell application "OmniGraffle"
tell front window
tell page 1
set theLine to make new line at beginning of graphics with properties {head type:"FilledArrow", point list:{{0.0, 0.0}, {100.0, 100.0}}}
tell theLine
make new label with properties {text:"My Label"}
end tell
end tell
end tell
end tell

Richard
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't draw a line ??? Rodney OmniGraffle General 5 2011-10-15 10:03 AM
Cmd-Up Arrow with Tabs NightPutting OmniWeb General 2 2009-01-08 11:01 AM
I just want to draw a line!?! joeworkman OmniGraffle General 3 2008-03-10 11:30 AM


All times are GMT -8. The time now is 12:53 AM.


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