• 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: iTunes programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >iTunes programming (From: Isaac Sherman <email@hidden>)

  • Prev by Date: Re: Accessors (can we close it this way?)
  • Next by Date: Re: iTunes programming
  • Previous by thread: Re: iTunes programming
  • Next by thread: Re: iTunes programming
  • Index(es):
    • Date
    • Thread