I am trying to get applescript to checck and see if there are any active network ports before it continues with the script. Does any when have any insight on if this is possible?
Background: The script I use connects to a server that i use to backup, and I use iCal to schedule when to run it. But the problem is I only want it to run the script if it is connected to a network. I hate error messages popping up.
Background: The script I use connects to a server that i use to backup, and I use iCal to schedule when to run it. But the problem is I only want it to run the script if it is connected to a network. I hate error messages popping up.