Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  System / Utilities  |  Other System / Utilities  |  Volume Mounter  |  Use this in Apple-Script-Editor

Volume Mounter

Volume Mounter

for mounting AFP and SMB volumes

Version:  4.1d0

   [ Views: 653 ]

Use this in Apple-Script-Editor

Feedback Type:  Commentary

Contributed by: Prof Dr Luigi Monday, November 21 2005 @ 05:26 AM PST

Product Platform: MacOSX

Used Product For: Have Not Tried

Recommend Product: NO

Write this little code in the Applescript-Editor

tell application "Finder"
mount volume "afp://adress/sharename" as user name ¬
"USERNAME" with password "PASSWORD"
end tell


Save the Script as Executable and Drop it into your Start-Objects in System-Preferences -> Accounts

You can do the same for SMB-Volumes. In this case use "smb://" instead of "afp://"


  

2 of 2 users found this helpful.

Rate this Commentary

Was this Commentary helpful? Yes | No

Comments

1 comments |

Use this in Apple-Script-Editor - josephsl

Hi
I have success*censored*ky tried using applesript to mount a volume on a server until I recently upgrade to a Mac Pro.
Now, even though this script runs at startup, it will not mount the remote volume.
It gives an error message saying that the volume can't be found.
If however I lanch it manually after startup, it successfully mounts it.
Any ideas why it doesn't work?

Dr Joseph San Laureano
Melbourne
Australia

Reply to This

Sunday, August 19 2007 @ 02:18 AM PDT