Re: InDesign: Applied Language Property of Paragraph Style
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