Re: iTunes programming
Re: iTunes programming
- Subject: Re: iTunes programming
- From: Olivier Destrebecq <email@hidden>
- Date: Wed, 7 Aug 2002 10:44:42 -0500
you can use applescript to do that. You can send an apple event that
just say play, and it will start to play what ever song is selected. If
you really want random, then generate a random number and tell itunes to
play song x of source x.
Look at iTunes dictionary. one note though, to send appleevent from
cocoa, you need to use Carbon call.
hope this help. If you want to know a little more let me know.
On Wednesday, August 7, 2002, at 09:57 AM, Isaac Sherman wrote:
Is it possible to send a message to iTunes through Cocoa/Applescript?
Specifically, I want it to play a random song. A few Google/ADC
searches
returned no helpful info, other than a visual plugin SDK, which I'm not
interested in. A pointer to the appropriate documentation would be
appreciated.
TIA,
--
Isaac Sherman
MotaSoft Software
http://homepage.mac.com/huperzoevs/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.