The only one I've seen online was Doug Adams'
http://www.malcolmadams.com/itunes/ and it didn't bloody work, AT ALL.
So I hacked through his script, and made my own. There's no error checking, YMMV, etc. But it's worked on the 3 track playlist and the 75 track playlist I had, so give it a shot.
For best results, have iTunes and SoundJam open. Only tested it on OS 9.22 and very little at that.
I just know I've been after something similar for a while and figured I'd share what I had. Now I have to test it in X!
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
set SJplaylist to choose file with prompt <font color = red>"Select a SoundJam Playlist to import:"</font> of type <font color = red>"PLST"</font>
tell application <font color = red>"SoundJam� MP"</font>
activate
try
open SJplaylist
on error
display dialog <font color = red>"Unable to open the playlist you have selected."</font> buttons {<font color = red>"Cancel"</font>}
end try
set oldSJPlaylist to front playlist window
copy (get name of oldSJPlaylist) to oldName
tell application <font color = red>"iTunes"</font>
copy (make new user playlist) to newPlaylist
set name of newPlaylist to (oldName & <font color = red>".import"</font>)
end tell
copy (get index of last track of oldSJPlaylist) to totalTracks
repeat with i from <font color = blue>1</font> to totalTracks
get location of track i of oldSJPlaylist
tell application <font color = red>"iTunes"</font>
add the result to newPlaylist
end tell
end repeat
end tell
</font>[/code]
argh, stupid UBB
[ 04-29-2002: Message edited by: ReggieX ]