• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: internet connect won't connect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: internet connect won't connect (From: Charles Arthur <email@hidden>)

  • Prev by Date: Execution Error with Excel script
  • Next by Date: Re: attempting to count messages in Mail
  • Previous by thread: Re: internet connect won't connect
  • Next by thread: RE:Subject: Re: QXP: ungrouping ? --thanks & new question
  • Index(es):
    • Date
    • Thread