Re: Is this a bug?
Re: Is this a bug?
- Subject: Re: Is this a bug?
- From: Barry Wainwright <email@hidden>
- Date: Sun, 15 Mar 2009 22:06:14 +0000
On 15 Mar 2009, at 22:00, Deivy Marck Petrescu wrote: tell application "Finder" set d to get item 1 of (every disk whose name is "deivy") set l to every disk whose name is "deivy" set m to get item 1 of l end tell return {d, l, m}
There is a silent coercion going on - if you force an explicit coercion by changing the first line to:
set d to get item 1 of (GET every disk whose name is "deivy")
then the result is as you expect.
-- Barry
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Is this a bug? (From: Deivy Marck Petrescu <email@hidden>) |