View previous topic :: View next topic |
Author |
Message |
jae_63 Senior Member
Joined: 29 Mar 2006 Posts: 79 Location: Bethesda, MD
|
Posted: Tue Apr 18, 2006 3:57 pm Post subject: scripting iTunes->Windows Media Player playlist transfer |
|
|
I'd like to transfer selected MP3s from iTunes on my PC to ptunes on my Treo:
http://www.pocket-tunes.com/
It supports using Windows Media Player to transfer files to my Treo:
http://www.pocket-tunes.com/?page=userguide#InstallAudioWMP10
I'd like to write a Clicker script which would instruct iTunes to export a playlist to Windows Media Player, and then instruct WMP to ship those files to my Treo via Bluetooth.
Any ideas on how to get started with this choreography? |
|
Back to top |
|
 |
salling Site Admin
Joined: 27 Jul 2004 Posts: 7498 Location: Stockholm, Sweden
|
Posted: Tue Apr 18, 2006 4:12 pm Post subject: |
|
|
Interesting (and somewhat tough) one...
I'm not quite familiar with how to track import works in WMP. I think you'd be well served by looking at the "Select Playlist" script for iTunes. Copy this code into a new script to make the foundation for what you want to build.
Then, replace the part that starts playing the tracks in the selected playlist with code that imports the track files in a WMP playlist. You may find the script "Add to Playlist" for WMP useful in getting a bit of an idea (see the function "addToPlaylist_valueUpdated()".
Not much more I can do to help you. You should make sure to download the iTunes SDK. It has a CHM-file with documentation on iTunes scripting. Also, you should browse the MSDN site on WMP's object model fill in the blanks.
Best.
--
Jonas |
|
Back to top |
|
 |
|