Re: Indesign vs Quark: NO every text of every story
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.