Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '? Disconnect/Umount SMB shares using Applescript in 10.2/Jag ?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
? Disconnect/Umount SMB shares using Applescript in 10.2/Jag ?
Authored by: bartelsrausch on Jan 17, '03 02:35:46AM

How would I dissconnect shares using Applescript? I connected them using the applescript command to /Volumes/<sharename>.
thanks for any help, thorsten



[ Reply to This | # ]
? Disconnect/Umount SMB shares using Applescript in 10.2/Jag ?
Authored by: serversurfer on Sep 13, '03 09:56:05AM
Try this:

tell application "Finder"
    eject (every disk whose name is "sharename")
end tell


---
Love,
The Surfer

[ Reply to This | # ]