Netbook Random Music Player
i got my new mini9 yesterday, overall i am satisfy with its performance
but running itune or media player is just overkill the ram just for listening to songs
Here is the comparison data after running 5mins
(*along with openning itune, there are few more process come with it, like AppleMobileDevice, AppleUpdate..)
Code:
#Persistent
menu, tray, NoStandard
Menu, Tray, Icon, Shell32.dll, 138
menu, tray, add, Play/Stop
menu, tray, add, Next
menu, tray, add, Exit
RegRead, myMusicVar, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, My Music
count=1
Loop, %myMusicVar%\*.*,,1
{
if (A_LoopFileExt="MP3" or A_LoopFileExt="WMA" or A_LoopFileExt="WAV")
{
list_%count% = %A_LoopFileShortPath%
name_%count% = %A_LoopFileName%
count++
}
}
loop
{
Random, rand, 1, %count%
playthis := list_%rand%
namethis := name_%rand%
menu, tray, tip, %namethis%
SoundPlay, %playthis%,1
sleep 300
}
return
play/Stop:
SoundPlay, next
pause
return
Next:
SoundPlay, next
return
Exit:
SoundPlay, next
exitapp
return
its not something intelligent that will make ur music experience whole lot better. but a fast and simple program that randomly play songs in ur music folder without affecting ur netbook performance much