views:

27

answers:

0

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!