04-09-2006, 08:49 AM #1DKDGuestForce OSX to refresh mounted drive displayed on the desktop
I am using a couple bash scripts to make OSX mount some samba shares when it detects that is it is connected at home... it is basically looking for an SSID change and when it sees my SSID it mounts about 5 shares that we have at home (/Volumes/<insert name of share here>).
The only problem with this is that it does not create the links to the drives on the desktop. Is there any way / command / applescript hack to force it to display those drives -- or even mount them using applescript instead of bash so that the mac "knows" to display those drives?
04-09-2006, 09:44 AM #2KokopelliGuest
Well with AppleScript it would be
tell application "Finder" mount volume "smb://WORKGROUP;<user>:<password>@<server>/<dir>" end tell
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By c4macosx in forum Switcher HangoutReplies: 2Last Post: 03-07-2013, 09:46 PM
By lrd in forum OS X - Operating SystemReplies: 2Last Post: 02-13-2013, 09:23 PM
By mrblue in forum OS X - Operating SystemReplies: 1Last Post: 07-29-2011, 09:20 PM
By Morrolan in forum Switcher HangoutReplies: 4Last Post: 12-27-2007, 12:49 PM
By DrQuincy in forum Web Design and HostingReplies: 5Last Post: 12-04-2006, 11:03 PM