• 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
Re: InDesign Paragraph Style Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign Paragraph Style Application


  • Subject: Re: InDesign Paragraph Style Application
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Jul 2009 08:42:54 +1000
  • Thread-topic: InDesign Paragraph Style Application

On 13/7/09 11:55 PM, "Roy McCoy" <email@hidden> wrote:

>> Adobe InDesign CS4 got an error: Invalid value for parameter 'using'
>> of event 'apply paragraph style'. Expected paragraph style, but
>> received "3.kl.normala kun ensalto".

Right: it wants a reference to a style, not just a name. So:

set theStyle to paragraph style "3.kl.normala kun ensalto"
tell paragraph 1 of story 1
apply paragraph style using theStyle without
clearing overrides

Using references rather than just names for styles (and things like colors)
is good standard practice, and helps avoid lots of similar problems.

--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>


 _______________________________________________
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 Paragraph Style Application
      • From: Roy McCoy <email@hidden>
References: 
 >Re: InDesign Paragraph Style Application (From: Roy McCoy <email@hidden>)

  • Prev by Date: Re: Mac10.6 bug? NSAppleScript can't work
  • Next by Date: Re: preflight before PDF creation InDesign
  • Previous by thread: Re: InDesign Paragraph Style Application
  • Next by thread: Re: InDesign Paragraph Style Application
  • Index(es):
    • Date
    • Thread