Re: What's new in Leopard?
Re: What's new in Leopard?
- Subject: Re: What's new in Leopard?
- From: "George Bray" <email@hidden>
- Date: Thu, 1 Mar 2007 00:06:44 +1100
This piqued my interest too.
http://developer.apple.com/leopard/overview/apptech.html
Users have long had the ability to build new solutions that combine
the features from other scriptable applications. In Leopard, Cocoa
developers get a powerful new tool, the Scripting Bridge, to do this
programmatically. The Scripting Bridge allows you to automatically
build "glue" code to access a scriptable application with standard
Objective-C method calls. For example, using the Bridge, you could get
the name of the current iTunes track with the following line of code:
NSString *currentTrackName = [[iTunes currentTrack] name];
The Scripting Bridge uses native Cocoa data types, such as NSString
and NSArray, requires far less code than using an
NSAppleEventDescriptor, and runs more than twice as fast as a
precompiled NSAppleScript.
George
On 2/28/07, Tim Mansour <email@hidden> wrote:
Read in the program for WWDC:
> You'll also learn how you can integrate with new Leopard
> technologies to add substantial new capabilities to your
> application. Integration with the new Scripting Bridge
Anyone know if this is something we should be excited about?
--
Tim Mansour <email@hidden>
_______________________________________________
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
--
George Bray - University of Canberra, Australia
_______________________________________________
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