This will play any track.
set x to random number from 1 to 100
tell application "iTunes"
play track x
end tell
But i think you should want this:
This will play track from a specified playlist. You have to write the
name of playlist below.
set x to random number from 1 to 100
tell application "iTunes"
tell playlist "name of playlist"
play track x
end tell
end tell
