• 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: When a String is not equal to a String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When a String is not equal to a String


  • Subject: Re: When a String is not equal to a String
  • From: Dana McDonald <email@hidden>
  • Date: Tue, 16 Apr 2002 10:55:04 -0400

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

Duh, I should've checked the class.

Cumulus 5.x returns either a string, a reference, a list, or an error
depending on: only one found & no coercion, nothing found with list
coercion, more than one found, nothing found with no coercion, respectively.

Slightly different than Cumulus 3.

Thanks
Dana
_______________________________________________
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.

References: 
 >Re: When a String is not equal to a String (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Somewhat OT but related- Perl Scripts in Script Menu
  • Next by Date: Re: Exit repeat on quit
  • Previous by thread: Re: When a String is not equal to a String
  • Next by thread: Re: When a String is not equal to a String
  • Index(es):
    • Date
    • Thread