Results 1 to 2 of 2
  1. #1
    Question Force 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?

  2. #2
    Well with AppleScript it would be

    tell application "Finder"
    	mount volume "smb://WORKGROUP;<user>:<password>@<server>/<dir>"
    end tell

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't get mounted drives on Desktop, no customized icon
    By c4macosx in forum Switcher Hangout
    Replies: 2
    Last Post: 03-07-2013, 09:46 PM
  2. Not showing mounted drives on the desktop?
    By lrd in forum OS X - Operating System
    Replies: 2
    Last Post: 02-13-2013, 09:23 PM
  3. Mounted drive or apps don't appear on desktop
    By mrblue in forum OS X - Operating System
    Replies: 1
    Last Post: 07-29-2011, 09:20 PM
  4. Time Machine drive mounted and working, but no Desktop Icon?
    By Morrolan in forum Switcher Hangout
    Replies: 4
    Last Post: 12-27-2007, 12:49 PM
  5. Force-refresh on Safari
    By DrQuincy in forum Web Design and Hosting
    Replies: 5
    Last Post: 12-04-2006, 11:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts