• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unmount disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: stripping resource forks from a file.
  • Next by Date: Re: stripping resource forks from a file.
  • Previous by thread: unmount disk
  • Next by thread: Way to get user's IP address into Applescript variable?
  • Index(es):
    • Date
    • Thread