Roaming ... Something...

Discussion in 'Mac Programming' started by zenman, Mar 21, 2007.

  1. macrumors newbie

    Mar 21, 2007
    Hi, i am looking at implimenting cross platform roaming profiles with the assistance of the mount command in applescript.

    so far i have the network mounts working but i would like to mount them at a specific point on the directory tree... e.g.

    mount /Volume/_netmount /home/enduser

    unfortunately i have not been able to find anything on google which even remotely helps with this to such a point i sware i have aged 100 years.

    If anyone can help me it would be brilliant, the code i have at the moment is...

    set user_name to last word of (path to current user folder as text)
    tell application "Finder"
    		mount volume "smb://" & user_name & "@" & user_name & ""
    	end try
    		mount volume "smb://" & user_name & "@"
    	end try
    		set mypath to "smb://" & user_name & "@" & user_name & ""
    	end try
    end tell
    Clearly also the attempt to set mypath to the network address hasnt worked. If anyone can help me i would be extreamly greatful.

Share This Page