Re: Tell Blocks Considered Harmful (was Re: open for access)
Re: Tell Blocks Considered Harmful (was Re: open for access)
- Subject: Re: Tell Blocks Considered Harmful (was Re: open for access)
- From: Chris Page <email@hidden>
- Date: Sun, 14 Dec 2008 00:40:28 -0800
On Dec 13, 2008, at 6:40 AM, has wrote:
Durr, you're right (I need my holidays). Scratch what I said about
commands within a 'tell application' block being sent to the
internal osax handler table first; instead, they need to be sent
directly to the target application, and only if the application
returns a 'event not handled' (-1708) error should AppleScript send
them to the osax table to see if they can be handled there.
Yup. Something like that.
Let's face it; if these defects *really* represented a serious day-
to-day problem for AppleScript users, they'd all have dumped the
platform years ago. Clearly that hasn't happened, so it's fair to
conclude that the aforementioned flaws are quite liveable with, and
trying to make radical 'fixes' now is likely to harm users far more
than it will ever help them.
By that theory, since no flaw has caused everyone to dump it, we
shouldn't fix any of them. ;-)
AppleScript will never be a 'great' language, but it can be 'good
enough'.
For the record, I think AppleScript is a pretty good language with
some great parts, which could be a very good language with some work.
Which is why I joined Apple to work on AppleScript.
--
Chris Page
The other, other AppleScript Chris
_______________________________________________
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