New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Force OSX to refresh mounted drive displayed on the desktop


Post Reply New Thread Subscribe

 
Thread Tools
DKD
Guest
 
Posts: n/a

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?
QUOTE Thanks
Kokopelli
Guest
 
Posts: n/a

Well with AppleScript it would be

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

Post Reply New Thread Subscribe


« trouble emptying the trash | Panic: We are hanging here? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
DIY: Trick out your Intel Mini kaidomac Apple Desktops 53 02-17-2007 03:40 AM
Broken Disk Drive but Want to Upgrade to OSX...Impossible? mariamarchita OS X - Operating System 3 02-27-2005 02:52 PM
2 harddrives puzzle Morgan19 OS X - Operating System 6 04-15-2004 03:38 PM
OSX install with no cdrom drive lotas OS X - Operating System 4 11-24-2003 11:33 AM
Upgrading hard drive...Boot IDE or SCSI? lokerd Apple Desktops 5 10-19-2003 08:02 PM

All times are GMT -4. The time now is 04:17 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?