I want to write a python script on Windows that saves the title of the program that the user uses at a given time like the http://www.rescuetime.com . I don't want to use rescuetime because of privacy consideration but instead write a script that does something similar myself to capture data about how much I use my computer.
Is there some easy command that I can use to read that information?
From stackoverflow
-
import win32gui w=win32gui w.GetWindowText (w.GetForegroundWindow())
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.