Re: unmount disk
Re: unmount disk
- Subject: Re: unmount disk
- From: Steve Thompson <email@hidden>
- Date: Thu, 08 Aug 2002 15:59:35 +0100
tell application "Finder"
empty trash without confirmation
put away disk "DiskName"
end tell
You'll get a message if there's open files on disk "DiskName" so get your
script to close all open files first...
Steve
On 8/8/02 3:37 pm, "Scott McKay" <email@hidden> wrote:
>
I'm still in OS 9, and I need a way to use AppleScript to unmount a disk
>
without the annoying confirmation box. I'm sure this is simple, but for
>
some reason, I haven't found a way to do it.
>
>
For that matter, I can't for the life of me recall how to empty Trash
>
with AppleScript without the usual annoying dialog boxes.
>
>
Thanks,
>
>
Scott McKay
>
_______________________________________________
>
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.
_______________________________________________
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: | |
| >unmount disk (From: "Scott McKay" <email@hidden>) |