Re: internet connect won't connect
Re: internet connect won't connect
- Subject: Re: internet connect won't connect
- From: Charles Arthur <email@hidden>
- Date: Thu, 8 Nov 2001 16:30:33 +0000
On Thu, 8 Nov 2001 08:15:48 -0500, <email@hidden> wrote:
>
im using 10.1 and can can get the app to open but not connect.
>
Ultimately I'd like to confirm that it's connect before moving to the
>
next step.
--untested; I assume idle handlers made it into X.
on run
tell application "Internet connect"
connect -- it's in the dictionary!
set thestatus to status of pppconnection 1 --this will be the active PPP
configuration.
repeat while thestatus is not "Connected"
if thestatus is "Connected"
exit repeat
else
idle()
end if
end repeat
end tell
--and now do all the other things you were going to do here
end run
on idle()
return 5
end idle
--
Charles
----------------------------
http://www.ukclimbing.com : 1000+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. Plus Britain's busiest climbing discussion boards. And there's
even a cool shop attached.
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp