Re: spurious timeout on nth Apple event on Snow Leopard
Re: spurious timeout on nth Apple event on Snow Leopard
- Subject: Re: spurious timeout on nth Apple event on Snow Leopard
- From: Matt Neuburg <email@hidden>
- Date: Wed, 07 Oct 2009 11:01:07 -0700
- Thread-topic: spurious timeout on nth Apple event on Snow Leopard
> Indeed, some days ago, as I was developing my hypothesis for what's going on,
> I tried to write an app that would generate all these raw Apple events and
> report their return IDs, but I discovered that I didn't know enough about
> making, sending, and dealing with raw Carbon Apple events, so I gave up. m.
Okay, scratch that - I finally succeeded in writing the app.
So, I've now written an app that creates and sends raw Apple events and
displays their return IDs. Sure enough, what happens is, each new Apple
event gets a successive return ID until we hit zero. That is the one that
craps out. And that, as Hamish says, is because an Apple event with a return
ID of zero has a special meaning.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden