Re: When a String is not equal to a String
Re: When a String is not equal to a String
- Subject: Re: When a String is not equal to a String
- From: John W Baxter <email@hidden>
- Date: Mon, 15 Apr 2002 17:05:57 -0700
At 17:16 -0400 4/15/2002, Dana McDonald wrote:
>
I've been re-writing a large script for Cumulus when they redid their entire
>
applescript access structure from version 3 to version 5.x.
>
>
Anyway, this now happens and I'm not sure why.
>
>
I retrieve a file name in cumulus and put it in Str1.
>
I retrieve a file name from the finder and put it in Str2.
At this point in your script, try
display dialog "" & class of str1 & " " & class of str2
I suspect you'll learn that Cumulus is giving you something other than a
string.
[In Mac OS X with AppleScript 1.8.2b3, Finder gives you Unicode text when
you ask it for an item's name. In AppleScript 1.6, however, Finder returns
a string. That's why I suspect Cumulus is returning something else.]
But at least in AppleScript 1.8.2b3, unicode text compares equal to the
plain text form of the string, if they "look equal".]
--John
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.