Python hooks navigation logger windows
        Posted  
        
            by user363054
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user363054
        
        
        
        Published on 2010-06-10T02:39:34Z
        Indexed on 
            2010/06/10
            2:42 UTC
        
        
        Read the original article
        Hit count: 450
        
Hi, I´m trying to do a path logger (Navigation logger) in Python, the thing that I need is that the program can get the paths that de user is accesing in real time, for example:
C:\Documents and Settings\ C:\Documents and Settings\Administrator\ C:\Documents and Settings\Administrator\Desktop\ C:\Documents and Settings\Administrator\Desktop\archivos\ C:\Documents and Settings\Administrator\Desktop\Freescale ZeD 1.1.0.lnk C:\Documents and Settings\Administrator\Desktop\Freescale BeeKit.lnk C:\Documents and Settings\All Users\Desktop\PowerISO.lnk
Someone knows how I can do this? I read and used the library pyhook, because I think that I need hooks, specially the WH_GETMESSAGE but pyhook doesn't use it and doesn't give the path only things like the Message, the time, the name of the window, etc.
Note: I´m using Windows XP 32bits and python 2.6
Thanks in advance!
© Stack Overflow or respective owner