AppleScript Error 10004 in simple script
I am trying to get this script to run as an application where a student can double click on this and mount their home folder. However am returning an error number -10004. I understand that this is a privlage error however I am not smart enough to figure out where. The app mounts the volume but not the students actual directory within "HisSchool". Any help on this matter would be greatly appreciated thanks in advance!
tell application "System Events"
tell current user
set fn to full name
try
mount volume "smb://studentfiles/homes/High Schools/HisSchool/" & fn
end try
end tell
end tell
Mac OS X (10.7.2), Enterprise Active Directory AD