Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zenman

macrumors newbie
Original poster
Mar 21, 2007
1
0
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...

Code:
set user_name to last word of (path to current user folder as text)
tell application "Finder"
	try
		mount volume "smb://" & user_name & "@192.168.0.17/" & user_name & ""
	end try
	try
		mount volume "smb://" & user_name & "@192.168.0.17/_jobs"
	end try
	try
		set mypath to "smb://" & user_name & "@192.168.0.17/" & 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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.