hey guys,
I was wondering if someone can help.
I am after a apple script that will mount a volume from a network machine.
basically:
afp://10.1.5.125/serverpartition
I want to plug it with automator so i can mount all my network drive when i want, without having to specify username and passwords for each, all the time.
i found this script, but it doesnt seems to work! maybe someone can help debug?
Script:
tell application Finder
activate
try
mount volume afp://10.1.5.125/serverpartition as user name «your user id» with password «your password»
on error
display dialog There was an error mounting the Volume. & return & return &
The server may be unavailable at this time. & return & return &
Please inform the Network Administrator if the problem continues. buttons {Okay} default button 1
end try
end tell
If i paste in like that, i get errors!
Thanks guys!
Anuraj Singh
I was wondering if someone can help.
I am after a apple script that will mount a volume from a network machine.
basically:
afp://10.1.5.125/serverpartition
I want to plug it with automator so i can mount all my network drive when i want, without having to specify username and passwords for each, all the time.
i found this script, but it doesnt seems to work! maybe someone can help debug?
Script:
tell application Finder
activate
try
mount volume afp://10.1.5.125/serverpartition as user name «your user id» with password «your password»
on error
display dialog There was an error mounting the Volume. & return & return &
The server may be unavailable at this time. & return & return &
Please inform the Network Administrator if the problem continues. buttons {Okay} default button 1
end try
end tell
If i paste in like that, i get errors!
Thanks guys!
Anuraj Singh