• 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: Jan Bultereys <email@hidden>
  • Date: Tue, 25 Jul 2006 10:46:04 +0200
  • Thread-topic: Case sensitive find/replace

Thanks to all persons who gave there input...
Just a question, how would you implement multiple words, in the script
below? I want to replace multiple word with this script.
eg: change Formaat to Format
eg: change formaat to format
eg: change Size to Groote
eg: change size to groote
eg: change color to kleur
eg: change Color to Kleur
...

Best regards,jan

> From: Stan Cleveland <email@hidden>
> Date: Thu, 20 Jul 2006 17:01:59 -0700
> To: "email@hidden" <email@hidden>
> Conversation: Case sensitive find/replace
> Subject: Re: 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:
> edepot.com
>
> This email sent to email@hidden

 _______________________________________________
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: Emmanuel <email@hidden>
    • Re: Case sensitive find/replace
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: Case sensitive find/replace (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Finder Text Document Preview
  • Next by Date: Re: Case sensitive find/replace
  • Previous by thread: Re: Case sensitive find/replace
  • Next by thread: Re: Case sensitive find/replace
  • Index(es):
    • Date
    • Thread