Re: InDesign Search-Replace Case Problem
Re: InDesign Search-Replace Case Problem
- Subject: Re: InDesign Search-Replace Case Problem
- From: Glenn Kowalski <email@hidden>
- Date: Mon, 21 Feb 2005 14:39:53 -0500
I'm not sure if anyone responded yet since I'm on the digest, but I
think I've got this figured out. I need to use
"replacing with myChangeString with case sensitive without whole word"
Note the rearranging of the case sensitive and the whole word
compared to what I had below.
---
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