Advertisement
Guest User

VLC Song Now Playing

a guest
Jun 23rd, 2016
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <MsgBoxConstants.au3>
  2. #include <File.au3>
  3.  
  4. If WinExists("[CLASS:QWidget]") Then
  5. Do
  6. $wTitle = WinGetTitle("[CLASS:QWidget]")
  7. $wTitle = StringTrimRight($wTitle, 18)
  8. $nowplaying = _FileCreate("NowPlaying.txt")
  9. FileWrite("NowPlaying.txt", $wTitle)
  10. Sleep(3000)
  11. Until 1=0
  12. Else
  13. MsgBox($MB_SYSTEMMODAL, "", "Window doesn't exist")
  14. EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement