considering/ignoring in QuarkXPress
considering/ignoring in QuarkXPress
- Subject: considering/ignoring in QuarkXPress
- From: Michael Turner <email@hidden>
- Date: Fri, 02 Feb 2001 10:06:01 -0500
Shane,
I ran a test script to test this, and considering/ignoring seems to work as
expected. Try this: create a test doc with 2 stories, one with the word
"story" the other with the word "STORY" then run this script:
tell application "QuarkXPress(TM) 4.1"
activate
tell document 1
considering case
if the text of story 1 = the text of story 2 then
beep
return the text of story 2 & " " & the text of story 1
else
return "no match"
end if
end considering
end tell
end tell
The result is "no match".
-Michael
>
From: Shane Stanley <email@hidden>
>
Date: Sat, 27 Jan 2001 08:48:08 +1100
>
To: AS lists <email@hidden>
>
Subject: Re: QuarkXpress find and replace with variables (new question)
>
>
On 27/1/01 1:30 AM +1000, Michael Turner, email@hidden, wrote:
>
>
> Is there some reason that "considering case" won't work?
>
>
Yes -- you're asking the application to do it, and applications have to be
>
specifically written to, well, consider such things. And sadly many apps
>
aren't, QXP included.
>
>
--
>
Shane Stanley, email@hidden
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users