• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
InDesign graphic line stroke dash and gap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: InDesign graphic line stroke dash and gap
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: AppleScript for exporting Quicktime movie to mp3 or .AAC sound file in QT 7.5
  • Next by Date: Re: InDesign graphic line stroke dash and gap
  • Previous by thread: Re: InDesign layers
  • Next by thread: Re: InDesign graphic line stroke dash and gap
  • Index(es):
    • Date
    • Thread