• 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: Yvan KOENIG <email@hidden>
  • Date: Tue, 25 Jul 2006 10:56:53 +0200


Le 25 juil. 2006 à 10:46, Jan Bultereys a écrit :

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
...


Hello

something like that may do the trick:


set l1 to {"Formaat","formaat","Size","size","Color","color"} set l2 to {"Format","format","Groote","groote","Kleur","kleur"}

repeat with i from 1 to count of l1
my searchReplace(l1's item i,l2's item i)
end repeat

on searchReplace(b,a)
--replace word b(efore) by word a(fter)
end searchReplace

Yvan KOENIG _______________________________________________
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


References: 
 >Re: Case sensitive find/replace (From: Jan Bultereys <email@hidden>)

  • Prev by Date: Re: Case sensitive find/replace
  • Next by Date: creating rules for mailboxes by using apple script
  • Previous by thread: Re: Case sensitive find/replace
  • Next by thread: Re: Case sensitive find/replace
  • Index(es):
    • Date
    • Thread