• 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: Michael Schmidt <email@hidden>
  • Date: Tue, 18 Jul 2006 15:14:19 +0200

I wanted to say: Try this

tell application "QuarkXPress Passport"
   activate
   tell current box
       try
	   considering case
                set every text where it is "Formaat" to "Format"
	   end considering
      end try
   end tell
end tell

:-D
Greetz,
ShooTerKo

Am 18.07.2006 um 15:01 schrieb Michael Schmidt:

Try this:

"BOB" comes before "bob" --result: false
considering case
    "BOB" comes before "bob" --result: true
end considering

From http://developer.apple.com/documentation/applescript/ conceptual/applescriptlangguide/AppleScript.c8.html

Greetings from Hamburg,
ShooTerKo

Am 18.07.2006 um 14:26 schrieb Jan Bultereys:

Hi, does anyone know how I can make this case sensitive...
This example will replace the word “Formaat” to “Format“ but I don’t want that “FORMAAT” and “formaat” get changed,
For some reason this syntax is not case sensitive...



tell application "QuarkXPress Passport" activate tell current box try set every text where it is "Formaat" to "Format" end try end tell end tell

Any idea is much appreciated
jan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40hbv.de


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: Jan Bultereys <email@hidden>
References: 
 >Case sensitive find/replace (From: Jan Bultereys <email@hidden>)
 >Re: Case sensitive find/replace (From: Michael Schmidt <email@hidden>)

  • Prev by Date: Re: Case sensitive find/replace
  • Next by Date: Re: getting the image file of a mounted disk image
  • Previous by thread: Re: Case sensitive find/replace
  • Next by thread: Re: Case sensitive find/replace
  • Index(es):
    • Date
    • Thread