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:
Code:
if COMPUTER HAS ACCESS TO THE INTERNET
DO THIS
end if