First off apologies if this is in the wrong place, I wasn't sure if Applescript requests belong here or under the Programming forum. I have a Time Capsule which has an external USB drive connected to it and made available over the network. What I'd like to do is set up a script that automatically mounts that share whenever I boot or wake from sleep, or fail silently if the drive isn't available (IE, because I'm not at home or what). I've got everything working except for the "fail silently" part. The script runs appropriately at login and when waking from sleep, provided that I'm on my home network. When I'm not, I get an error and it all seems to go kinda crazy. The script in question is here: Code: delay 10 property DRIVENAME : "afp://Time Capsule._afpovertcp._tcp.local/DRIVENAME/" mount volume ARCHON I was trying to figure out if there are conditionals, if/then etc, but I can't seem to work out how to get it to first check for the existence of the Time Capsule before trying to mount the share. My MacBook is connected over LAN at home, not wifi, so I don't know if searching for the network SSID will work as Airport is off when I'm at my desk. Alternatively if there's just a simple way to have it fail gracefully if the share isn't found that would be excellent too. Any suggestions?