Jump to content

Recommended Posts

Posted

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]

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
  • Recently Browsing   0 members

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