Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting and Dismounting local or server volumes on Tiger



On 10/17/05 19:57, "Dave Lyons" <email@hidden> wrote:

>> Question 1:
>> tell app "Finder"
>>     eject "G3400-X"
>> end tell
> 
> I'm always surprised when I see stuff like that work:  This is asking
> Finder to eject a string.  True, Finder manages to figure out what
> you mean, but it's better to write:

You need to have a chat with the Standard Additions folks. "list disks"
returns a list of unicode text strings with the disk name, nothing more.
Since the OS is giving you that, and nothing more, it would be MORE unusual
to have the only obvious way to eject a disk not work on what the OS gives
you.

Considering that the output of list disks in SA is much cleaner and easier
to work with than the output of the Finder, I think it's blind luck that you
don't see more of that kind of thing than you do.

-- 
"There is no 'I' in TEAM."
US Navy SEALs


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Mounting and Dismounting local or server volumes on Tiger (From: Dave Lyons <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.