Hello, guys.
The start up script bellow mounts a network drive in my macbook:
try
tell application "Finder"
mount volume "afp://iMac-01._afpovertcp._tcp.local/Backup%20HD"
end tell
end try
There is two problems with this script for me:
If I am out of the local network that the network drive is located, the script takes a long time trying to connect with it, and makes my macbook slowly in initialization. So, how to setup a maximum time for the script try to connect with the network drive?
If the network drive cannot be connected, a message warning me of that pops out. How to ignore this message? i.e, make it not appears.
I'm never made an apple script before of that, so please, if it is possible, help me modifying the original script.
Thanks in advance.