View Single Post
Hi,

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,

Tom