Vicks Posted July 5, 2006 Posted July 5, 2006 ok i see alot of people wanting a window spy, i found this in my script folder might coming handy, rename log to .txt or whatever you want. #include <file.au3> Opt("WinTitleMatchMode",4) $lasttitle = WinGetTitle("active") _FileWriteLog("c:\WinTitleLog",$lasttitle) While 1 $title = WinGetTitle("active") If $title <> $lasttitle Then _FileWriteLog("c:\WinTitleLog",$title) $lasttitle = $title EndIf Sleep(100) WEnd [s]Autoit[/s]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now