• 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: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)


  • Subject: Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
  • From: Chris Page <email@hidden>
  • Date: Thu, 18 Dec 2008 00:38:00 -0800

On Dec 14, 2008, at 9:40 AM, Philip Aker wrote:

On 2008-12-14, at 06:01:46, Chris Page wrote:


Well, at the low level all languages are identical. ;-) What sort of things were you expecting me to address?

OSA ...

I was just responding to the questions about AppleScript proper. Other languages can use Apple Events and the Apple Event Object Model.


I do think OSA is a win, in that it gives you a generic way to run and manipulate scripts that may have completely different syntaxes and runtimes. Unfortunately, OSA as it exists today is a bit crufty and harder to add new languages to than it could be.

... how the Apple Event Object Model can subsume huge portions of XML without working up a sweat ...

You'll have to tell me more about that. I'm not sure what you mean.

... the benefits of sdefs towards defining a modern AppleScript while still retaining huge portions of the original design…


1. Everybody should start using sdefs and stop using aete resources and .scriptSuites.

2. sdefs combined with Cocoa Scripting are the easiest way to implement scriptable applications and are miles ahead of implementing scriptability yourself using the C APIs.

But if you don't want to use Objective-C you can just use enough to handle incoming events, and implement your handler methods by having them call C functions or C++ or whatever language you wish to use.

--
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
  • Follow-Ups:
    • Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
      • From: Philip Aker <email@hidden>
References: 
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: has <email@hidden>)
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Chris Page <email@hidden>)
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Philip Aker <email@hidden>)
 >What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…) (From: Chris Page <email@hidden>)
 >Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…) (From: Philip Aker <email@hidden>)
 >Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…) (From: Chris Page <email@hidden>)
 >Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…) (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
  • Next by Date: Re: on blocking target applications' GUIs (was Re: Tell Blocks Considered Harmful)
  • Previous by thread: Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
  • Next by thread: Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
  • Index(es):
    • Date
    • Thread