Re: Mounting and Dismounting local or server volumes on Tiger
Re: Mounting and Dismounting local or server volumes on Tiger
- Subject: Re: Mounting and Dismounting local or server volumes on Tiger
- From: "John C. Welch" <email@hidden>
- Date: Mon, 17 Oct 2005 20:09:36 -0500
- Thread-topic: 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:
This email sent to email@hidden