Re: Droplet question
Re: Droplet question
- Subject: Re: Droplet question
- From: Emmanuel <email@hidden>
- Date: Thu, 28 Feb 2002 18:56:57 +0100
At 3:13 PM +0100 28/2/02, Timothy K. Wilkinson wrote:
>
>
I'm trying to troubleshoot a droplet I wrote and I think I'm
>
misunderstanding what is happening.
"count" works only with a list:
-----------------
count {2}
-----------------
--> 1
-----------------
count 2
-----------------
--> error
I think that the most recent versions of AppleScript / Finder send a list
as the argument of open, even if there is just one item. I may be wrong: my
scripts still include a precautionary line:
-----------------
if class of these_items is not list then set these_items to {these_items}
-----------------
Emmanuel
_______________________________________________
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.