InDesign graphic line stroke dash and gap
InDesign graphic line stroke dash and gap
- Subject: InDesign graphic line stroke dash and gap
- From: Tim Mansour <email@hidden>
- Date: Thu, 24 Jul 2008 16:26:34 +1000
(Thanks Scott for the response to my last question.)
I'm trying to create a dashed line in InDesign CS3 with code like this:
set new_doc to make new document
tell new_doc
tell master spread 1
make graphic line with properties {geometric bounds:{0, 0, 0, 210},
stroke weight:4, stroke color:"Black", stroke tint:50.0, stroke dash
and gap:{10, 20}, stroke alignment:inside alignment}
end tell
end tell
However, I get the error "The property is not applicable in the
current state". (What "state"?) The same code without reference to the
stroke dash and gap works, ie:
make graphic line with properties {geometric bounds:{0, 0, 0, 210},
stroke weight:4, stroke color:"Black", stroke tint:50.0, stroke
alignment:inside alignment}
Can anyone help with why the stroke dash and gap isn't working?
--
Tim Mansour <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden