• 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: Snow Leopard AppleScript Release Notes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard AppleScript Release Notes


  • Subject: Re: Snow Leopard AppleScript Release Notes
  • From: has <email@hidden>
  • Date: Fri, 28 Aug 2009 21:41:17 +0100

Jon Pugh wrote:

The Snow Leopard 10.6 AppleScript Release notes are up:

<http://developer.apple.com/mac/library/releasenotes/ScriptingAutomation/RN-AppleScriptSL/index.html >

Summary:

	Date handling changes
	Scripting Addition thread safety changes
	Security changes
	AppleScript / Objective C bridge changes


Additional AppleScriptObjC release notes here:

<http://developer.apple.com/mac/library/releasenotes/ScriptingAutomation/RN-AppleScriptObjC/index.html >

...

A few initial questions for the AppleScript team:

1. I've also seen ASObjC referred to as Cocoa Bridge, but I'm guessing the official name is AppleScriptObjC, yes?


2. Is more AppleScriptObjC documentation in the pipeline, or is this all of the AppleScript-specific information? Obviously, the Cocoa APIs are covered is in the Cocoa documentation proper; the ASObjC docs only need to explain how to map that to AppleScript code.



3. The ASObjC release notes provide some information on the AS-ObjC bridging. Offhand, one thing I don't see is covered is implementing class methods in AppleScript. (The docs state "AppleScript handlers defined in the 'script' block are equivalent to the **instance** methods of an Objective-C object" [my emphasis].) Am I correct in thinking this is not supported?



4. What other limitations are imposed by the bridge? For example:

- Can ObjC classes inherit from AppleScript 'classes' (top-level script objects)?

- Can AppleScript 'classes' inherit from other AppleScript 'classes' using the 'property parent : class "CLASSNAME"' mechanism? If not, can they still inherit via the traditional AppleScript approach?

- When mutable objects cross the bridge, are they copied or shared? I'm assuming they're shared, yes?


5. I expect I'll have more questions as I investigate ASObjC further. What's the best forum to use? Here or the Studio list? Or are there plans to create an AppleScriptObjC mailing list?



Thanks,

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
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: Snow Leopard AppleScript Release Notes
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Snow Leopard AppleScript Release Notes
  • Next by Date: Re: Snow Leopard AppleScript Release Notes
  • Previous by thread: Re: Snow Leopard AppleScript Release Notes
  • Next by thread: Re: Snow Leopard AppleScript Release Notes
  • Index(es):
    • Date
    • Thread