Re: internet connect won't connect
Re: internet connect won't connect
- Subject: Re: internet connect won't connect
- From: Christopher Nebel <email@hidden>
- Date: Thu, 8 Nov 2001 10:54:49 -0800
On Thursday, November 8, 2001, at 08:30 AM, Charles Arthur wrote:
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. ...
They did, though calling an idle handler directly does not have the same
effect as letting the applet shell call it -- the handler will be
called, of course, but it won't sleep.
Nonetheless, this is essentially the correct way to do it given the
current implementation. The problem is that "connect" always returns
immediately; you then have to sit in a loop checking the status until it
returns "connected" (or, more properly, something other than
"connecting".)
Some may observe that this is lame. They are correct; a future version
will feature a synchronous "connect" verb that doesn't return until it's
either connected or failed.
--Chris Nebel
AppleScript Engineering