The script won't work until you set the paths to the midi's
This script will select a midi tune, print it's name and play it.
The only thing you have to do is put the paths to the midi's and write the midi songs name.
Please visit my Homepage. (Here can you also see a working version of the script)