Jump to content

window spy


Vicks
 Share

Recommended Posts

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]
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...