• 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: Applied Language Property of Paragraph Style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign: Applied Language Property of Paragraph Style


  • Subject: Re: InDesign: Applied Language Property of Paragraph Style
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 15 Mar 2007 08:48:59 +1100
  • Thread-topic: InDesign: Applied Language Property of Paragraph Style

On 15/3/07 7:42 AM, "David Wolfe" <email@hidden> wrote:

> Does anyone know the proper way to set the applied language property
> of a paragraph style? The dictionary doesn't seem to spell it out and
> the only examples given in the documentation for InDesign Scripting
> don't work. I just get error messages that say "Cannot set <class
> plng> of 1 to 84." I'm trying to set every paragraph style's applied
> language to Spanish: Castilian. I've tried by id and by name.

tell application "Adobe InDesign CS2"
    set theLingo to language with vendors "Spanish: Castilian"
    tell document 1
        set applied language of paragraph styles 2 thru -1 to theLingo
    end tell
end tell

--
Shane Stanley <email@hidden>
AppleScript Pro Denver, June 2007 <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: Applied Language Property of Paragraph Style
      • From: David Wolfe <email@hidden>
References: 
 >InDesign: Applied Language Property of Paragraph Style (From: David Wolfe <email@hidden>)

  • Prev by Date: InDesign: Applied Language Property of Paragraph Style
  • Next by Date: Re: InDesign: Applied Language Property of Paragraph Style
  • Previous by thread: InDesign: Applied Language Property of Paragraph Style
  • Next by thread: Re: InDesign: Applied Language Property of Paragraph Style
  • Index(es):
    • Date
    • Thread