Quantcast
Channel: macOS
Viewing all articles
Browse latest Browse all 7594

Applescript - check if connected to a specific network, then run (else fail silently)

$
0
0
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...

Applescript - check if connected to a specific network, then run (else fail silently)

Viewing all articles
Browse latest Browse all 7594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>