• 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
Changing fonts (and faces) in InDesign paragraph & character styles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing fonts (and faces) in InDesign paragraph & character styles


  • Subject: Changing fonts (and faces) in InDesign paragraph & character styles
  • From: JF <email@hidden>
  • Date: Wed, 01 May 2013 14:42:57 +0100

I need to change fonts in over 100 character and paragraph styles over a lot of documents, all with different styles and variations. This is very tedious to do manually, as anyone who knows about InDesign's style interface can tell you.

I have managed to get a list of the properties of all the character styles using this script, but the result is enormous and mostly irrelevant to me. All I want is the style name, applied font, and font style, all preferably on the same line. This easy script works, but has the massive list of properties, some of which I never imagined a character style would have:

tell application "Adobe InDesign CS6"
	get properties of all character styles of active document
end tell

but this does not work:

tell application "Adobe InDesign CS6"
	get properties {name, applied font, font style} of all character styles of active document
end tell

I have tried:
get applied font of all character styles of active document
and similar for name and font style and I do get lists, but they are all in separate lists. I have also tried variations on "get name and applied font and font style of all character styles..." but none compile in Script Debugger.

This is the first bit I had in mind to solve my problem. It is possibly irrelevant to my goal, but at least I have been able to see the style attributes in one page rather than using INDD's style windows one by one. I then need to see which styles need to have their fonts changed, and tbh I have no idea how to change them, possibly looping from one named style to another or one font name/font style? I am also assuming that once I have a script for character styles then I can easily adapt it for paragraph styles.

Thanks for any help.




 _______________________________________________
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

  • Prev by Date: Re: Epoch Seconds to YYYY-MM-DD
  • Next by Date: Re: Changing fonts (and faces) in InDesign paragraph & character styles
  • Previous by thread: Re: Epoch Seconds to YYYY-MM-DD
  • Next by thread: Changing fonts (and faces) in InDesign paragraph & character styles
  • Index(es):
    • Date
    • Thread