Disconnecting from network volumes
Disconnecting from network volumes
- Subject: Disconnecting from network volumes
- From: Susan Midlarsky <email@hidden>
- Date: Tue, 11 Mar 2003 13:56:05 -0500
Hi,
I'm new to the list and to Applescript. I have a simple script to
connect users to network volumes using the smb protocol. It's a
temporary patch until we get our real logins and home directories
working.
In the meantime, I want a script to disconnect the network volumes as
well. It doesn't seem nearly as easy as connecting is. The script to
connect is just
tell application "Finder"
open location "smb://server/public share"
end tell
tell application "Finder"
open location "smb://other server"
end tell
Then DAVE prompts for username and password, and mounts appropriate
directories.
So is there a simple way to cause these volumes to be ejected? On the
"other server," there may be as many as four different names of
shares mounted, so just specifying a volume name won't work.
I am also looking for solutions for both OS X and 9.
Thanks much,
Susan
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Susan Midlarsky
Assistant Network Manager, Computer Resources
http://architecture.mit.edu/resourcs/cro/index.html
Department of Architecture, MIT
77 Massachusetts Ave., Bldg. 3-411
Cambridge, MA 02139
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The only true comparison is with how you were yesterday." - A Friend
_______________________________________________
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.