InDesign Search-Replace Case Problem
InDesign Search-Replace Case Problem
- Subject: InDesign Search-Replace Case Problem
- From: Glenn Kowalski <email@hidden>
- Date: Mon, 21 Feb 2005 10:04:17 -0500
I'm having an odd case sensitivity issue when doing a seach-replace
in InDesign. This is what I have.
set myFindString to "original"
set myChangeString to "changed"
tell application "InDesign CS"
tell document 1
tell selection
set myFoundItems to search for myFindString
replacing with myChangeString without whole word and case sensitive
end tell
end tell
end tell
What happens first, is that the search is performed regardless of
case. Next, if the word "Original" appears in the text with a capital
"O" or if the entire word is capitalized, the result will be the word
"Changed" with just a capital "C."
Any help would be appreciated.
--
Glenn Kowalski
Mac Systems Consultant, Apple Certified
MacLab; a Division of Studio 405, Inc.
http://www.studio405.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden