Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <MsgBoxConstants.au3>
- #include <File.au3>
- If WinExists("[CLASS:QWidget]") Then
- Do
- $wTitle = WinGetTitle("[CLASS:QWidget]")
- $wTitle = StringTrimRight($wTitle, 18)
- $nowplaying = _FileCreate("NowPlaying.txt")
- FileWrite("NowPlaying.txt", $wTitle)
- Sleep(3000)
- Until 1=0
- Else
- MsgBox($MB_SYSTEMMODAL, "", "Window doesn't exist")
- EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement