Project

General

Profile

WinGrooves (Grooveshark) now playing info

Added by Mr. BS over 9 years ago

WinGrooves is a pseudo unofficial desktop client of Grooveshark music website. The script bellow is my attempt to read the current playing song from the titlebar.

Screenshot

Script

alias wg wingrooves
alias f1 wingrooves
alias wingrooves {
  .write -c wingrooves.bat cmd /c TASKLIST /V /FI "imagename eq WinGrooves.exe" $(|) find "WinGrooves" > wingrooves.txt | .run -h wingrooves.bat
  .timer -m 1 500 $!iif($regex($read(wingrooves.txt,n),/:\d\d\s(.+) - WinGrooves/Si), me is bouncing to ' $!+ $!regml(1) $!+ ' [WinGrooves]) $(|) .remove wingrooves.bat $(|) .remove wingrooves.txt
}