Sign in to follow this  
Followers 0
Vicks

window spy

4 posts in this topic

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]

Share this post


Link to post
Share on other sites



was this useful to anyone ?


[s]Autoit[/s]

Share this post


Link to post
Share on other sites

yes pretty much.

Share this post


Link to post
Share on other sites

yes pretty much.

cool

[s]Autoit[/s]

Share this post


Link to post
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
Sign in to follow this  
Followers 0