• 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 vs Quark: NO every text of every story
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign vs Quark: NO every text of every story


  • Subject: Re: Indesign vs Quark: NO every text of every story
  • From: Peter Boctor <email@hidden>
  • Date: Wed, 23 Jul 2003 10:23:32 -0700

This will search all stories of all documents:

tell application "InDesign 2.0.2"
search for "old word" replacing with "new word"
end tell

You can narrow down the search to a specific document:

tell application "InDesign 2.0.2"
search in document 1 for "old word" replacing with "new word"
end tell

or even a specific story or text frame:

tell application "InDesign 2.0.2"
search in story 1 of document 1 for "old word" replacing with "new word"
search in story 1 of document 1 for "old word" replacing with "new word"
end tell

Also instead of using the "in" parameter you can just tell the object you want to search:

tell application "InDesign 2.0.2"
tell document 1
search for "old word" replacing with "new word"
end tell
end tell

-peter
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Indesign vs Quark: NO every text of every story
      • From: Peter Boctor <email@hidden>
References: 
 >Indesign vs Quark: NO every text of every story (From: "Michiel (werk)" <email@hidden>)

  • Prev by Date: Re: Sandi's Additions for OS X??
  • Next by Date: Re: Apple mail: Save attached file
  • Previous by thread: Indesign vs Quark: NO every text of every story
  • Next by thread: Re: Indesign vs Quark: NO every text of every story
  • Index(es):
    • Date
    • Thread