• 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: Case sensitive find/replace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case sensitive find/replace


  • Subject: Re: Case sensitive find/replace
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 20 Jul 2006 17:01:59 -0700
  • Thread-topic: Case sensitive find/replace

On 7/20/06 4:44 PM, Robert Short wrote:

> Hi Stan,
>
> I am just catching up my messages and did not see a reply. Maybe this script
> will help you achieve what you need.
>
> tell application "QuarkXPress"
> activate
> set findText to "Formaat"
> set replaceText to "Format"
> tell current box of front document
> set i to count words
> repeat with x from 1 to i
> considering case
> if word x is findText then set word x to replaceText
> end considering
> end repeat
> end tell
> end tell


Actually, the OP was Jan Bultereys. I had posted a working solution to his
problem on Tuesday. I'm sure Jan doesn't mind, because it's always good to
have multiple solutions from which to choose. And yours avoids a lot of the
complexities of mine. Good job!

Cheers,
Stan


 _______________________________________________
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

  • Follow-Ups:
    • Re: Case sensitive find/replace
      • From: Jan Bultereys <email@hidden>
References: 
 >RE: Case sensitive find/replace (From: "Robert Short" <email@hidden>)

  • Prev by Date: RE: Case sensitive find/replace
  • Next by Date: Re: Applescript-users Digest, Vol 3, Issue 369
  • Previous by thread: RE: Case sensitive find/replace
  • Next by thread: Re: Case sensitive find/replace
  • Index(es):
    • Date
    • Thread