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

Understanding Applescript Dictionary Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next

This is a bit of a newbie question, but I hope you will forgive me.
I'm trying to draw a line in Omnigraffle using Applescript.
I've done this fine, but I can't work out how to set the "head type" to be an arrow.

I've reviewed the dictionary to find out that the property is "head type", but I can't find out what values I'm allowed to set it to! By trial and error, I've produced the following:

make new line with properties {head type:point, head scale:1.0, stroke cap:butt, corner radius:0, thickness:2, line type:straight, weight:3, stroke color:colour, point list:{{startX, startY}, {endX, endY}}}

I'd like to know a) what values I can set "head type" to and b) where you found out!

Thanks in advance,


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript: which shape properties can be set via a dictionary? Sophie OmniGraffle General 4 2012-11-23 08:17 AM
Omni dictionary for Android mlmsf OmniDictionary 1 2012-04-24 03:17 PM
applescript dictionary version jamesafoster OmniFocus Extras 1 2009-10-29 01:46 AM
Look up in dictionary not working macleon OmniWeb General 6 2009-10-21 07:58 AM
OS X dictionary integration. mischivo OmniWeb Feature Requests 29 2006-05-11 03:55 PM

All times are GMT -8. The time now is 09:38 PM.

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