FROM : Daniel Jalkut
DATE : Fri Aug 25 18:39:58 2006
On Aug 24, 2006, at 9:58 PM, Matt Neuburg wrote:
> Really? Since NSAppleScript simply compiles (if necessary) and
> executes the
> very same AppleScript code you might run in (say) the Script
> Editor, and
> since AppleScript is a way of constructing and sending Apple
> events, I'm
> hard pressed to imagine to what you might be referring.
Well, matt, you hit the nail right on the head. Since NSAppleScript
"simply compiles and executes," it leaves out most of the features
that a developer might want to use to fine tune scripting behavior.
These features run the gamut from controlling the AESend mode flags,
installing a send-event replacmement, determining which scripting
component to use, to fine-tuning idle callback behavior.
There's so much that is hidden from the developer in an API like
NSAppleScript that it's really difficult to summarize. Behaving
"just like Script Editor" (and unfortunately, running with
NSAppleScript does not achieve that) isn't the only measure of success.
Daniel
DATE : Fri Aug 25 18:39:58 2006
On Aug 24, 2006, at 9:58 PM, Matt Neuburg wrote:
> Really? Since NSAppleScript simply compiles (if necessary) and
> executes the
> very same AppleScript code you might run in (say) the Script
> Editor, and
> since AppleScript is a way of constructing and sending Apple
> events, I'm
> hard pressed to imagine to what you might be referring.
Well, matt, you hit the nail right on the head. Since NSAppleScript
"simply compiles and executes," it leaves out most of the features
that a developer might want to use to fine tune scripting behavior.
These features run the gamut from controlling the AESend mode flags,
installing a send-event replacmement, determining which scripting
component to use, to fine-tuning idle callback behavior.
There's so much that is hidden from the developer in an API like
NSAppleScript that it's really difficult to summarize. Behaving
"just like Script Editor" (and unfortunately, running with
NSAppleScript does not achieve that) isn't the only measure of success.
Daniel
| Related mails | Author | Date |
|---|---|---|
| John Stiles | Aug 24, 19:45 | |
| Matt Neuburg | Aug 25, 03:32 | |
| John Stiles | Aug 25, 03:42 | |
| Matt Neuburg | Aug 25, 03:58 | |
| John Stiles | Aug 25, 04:06 | |
| Matt Neuburg | Aug 25, 16:00 | |
| Michael Ash | Aug 25, 17:09 | |
| Daniel Jalkut | Aug 25, 18:39 | |
| Matt Neuburg | Aug 25, 19:34 | |
| John Stiles | Aug 25, 19:36 | |
| Matt Neuburg | Aug 25, 21:15 | |
| ab_lists | Aug 25, 23:19 | |
| John Stiles | Aug 25, 23:41 | |
| John Stiles | Aug 29, 03:08 | |
| John Stiles | Aug 29, 04:24 |






Cocoa mail archive

