• 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 how to find text and change this into a paragraph style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indesign how to find text and change this into a paragraph style


  • Subject: Indesign how to find text and change this into a paragraph style
  • From: Gerard Blokdijk <email@hidden>
  • Date: Fri, 18 Feb 2011 06:21:05 +1000

I'm having a hard time figuring out howe to find certain lines (like "Chapter 1") and then change "Chapter 1" 's paragraph style. Any help would be much appreciated.

So far I have this to find text, but I can't figure out how to apply a character style to it:

tell application "Adobe InDesign CS4"
set find text preferences to nothing
set change text preferences to nothing
set find what of find text preferences to "Chapter 1"

set change to of change text preferences to "Chapter 1" ** How to apply a paragraph style here ?** 
set myFoundItems to change text
end tell

Thanks,
Gerard 

 _______________________________________________
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 how to find text and change this into a paragraph style
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: SpamCop script which worked in Tiger suddenly dropping some attachments in Leopard
  • Next by Date: Re: Best practices
  • Previous by thread: Re: Backup script
  • Next by thread: Re: Indesign how to find text and change this into a paragraph style
  • Index(es):
    • Date
    • Thread