Okay, so I got a Windows server that I host some shares off of. Using this code doesn’t work anymore for some reason or another:
tell application "Finder"
mount volume "afp://student: password@server/alsdata"
mount volume "afp://student: password@server/everyone"
end tell
Basically there is an error with the alsdata share and if you click on the icon it will dismount. So I got a bit simpler with this code (I am really new, by the way):
tell application "Finder"
mount volume "afp:/at/server:*"
end tell
So that works well, because the permissions are everyone has full access. However, I would like to script in the shares to mount so the students (elementary level) wouldn’t have to select it everytime they log in. I tried writing
mount volume "afp:/at/server:alsdata"
to no avail. I assume I have the syntax incorrect (Finder recieved an error 1028). Any ideas?