Re: Play Playlist in iTunes
Re: Play Playlist in iTunes
- Subject: Re: Play Playlist in iTunes
- From: "Michael Ash" <email@hidden>
- Date: Thu, 2 Oct 2008 23:17:27 -0400
On Thu, Oct 2, 2008 at 9:52 PM, Mr. Gecko <email@hidden> wrote:
> I know but I can't find out the AppleEvent for Play Playlist.
> Is there some sort of a program that will parse the AppleScript and make an
> cocoa AppleEvent code.
Not quite, but you can get pretty close. Go to the section titled "An
Example" on this page:
http://www.cocoadev.com/index.pl?AEVTBuilder
It shows how to make Script Editor dump the Apple Events it's sending,
and then how to translate this into code. This example obviously shows
how to translate into AEVTBuilder code (a very direct translation due
to how AEVTBuilder is structured) but this could be pretty easily used
to generate code for other libraries, or even raw
NSAppleEventDescriptors, without great difficulty.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden