Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Nov 14, 2011 7:45 AM

Reply
1 reply

AppleScript Error 10004 in simple script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.