Re: Use Applescript to ping and address ?
Re: Use Applescript to ping and address ?
- Subject: Re: Use Applescript to ping and address ?
- From: Rob Jorgensen <email@hidden>
- Date: Thu, 23 May 2002 17:51:15 -0400
On 5/23/02, Charles Heizer commented:
Hello,
I left a couple of my AppleScript books at home so I'll ask the list first.
Is there a way to test a TCP/IP connection using a ping to a certain
IP using AppleScript? I have a app that requires a network
connection and it's in the startup items folder. What I want to do
is put a script in the startup items folder that will check to see
if a IP is "alive" then launch the app.
Speaking from a pre-OS X perspective, I don't think you can do an
actual ping without using a scriptable application that has the
capability to do so. Is there a known file in a known location on the
remote computer that you could attempt to download (a web page or
small text file would do)? If so, you might be able to script
something with URL Access just to see the if the remote computer is
available. <shrug>
--
Best regards,
Rob Jorgensen
Ohio, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.