• 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: Writing a script that mounts servers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing a script that mounts servers


  • Subject: Re: Writing a script that mounts servers
  • From: Gnarlodious <email@hidden>
  • Date: Wed, 30 Apr 2003 16:08:08 -0600

Here is what I run from the script menu:

try
tell application "Finder" to eject (every disk whose not local volume is
true)
on error errorMessage
tell application (path to frontmost application as text)
display dialog errorMessage buttons {"Cancel"} default button 1
end tell
end try
beep 2

It unmounts all ejectable disks, but is not very fast.

-- Rachel
http://www.Spectrumology.com
_______________________________________________
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: 
 >Writing a script that mounts servers (From: Vic Piercy <email@hidden>)

  • Prev by Date: Re: Writing a script that *unmounts* servers
  • Next by Date: Re: Palm Desktop 4.1 (creating a memo)
  • Previous by thread: Re: Writing a script that mounts servers
  • Next by thread: Writing a script that mounts servers
  • Index(es):
    • Date
    • Thread