Applescript that detects if iMac has access to the Internet?
I have an applescript I'm using that uploads a file to my site. I'd like to make it so it will only try to upload the file if the computer is online because it currently opens TONS of Script Editor windows if it can't get online. If someone knows how to do the following in Applescript, I'd appreciate it if you coudl let me know how to accomplish this:
if COMPUTER HAS ACCESS TO THE INTERNET
Mac Pro 2 GHz Quad Xeon, 15 GB RAM, Two 2 TB drives & 60 GB SSD
MacBook Pro 2.26 GHz Intel Core 2 Duo, 8 GB RAM, 120 GB SSD