tell application "Finder"
open location "smb://usernamme:pass@ServerName1/share1"
open location "smb://usernamme:pass@ServerName2/share2"
end tell
For an application to unmount these paste the following in...or just drag them to the trash.
tell application "Finder"
try
if "Share1" exists thenend try
eject "Share1"
end if
if "Share2" exists then
eject "Share2"
end if
end tell
Enjoy...
No comments:
Post a Comment