[TriZPUG] activity timers?

James Whisnant jwhisnant at gmail.com
Tue Feb 1 23:05:28 CET 2011

I had considered a similar idea for windows, but I never got around to
implementing it.
I haven't seen a product, but it might not be too difficult to write one.

My thought was to write my own using the win32api to get the window with
focus and the title of it every 5 minutes and then add up the time spent.

There may be a way to subsribe to the "focusChanged" event in windows with
win32api, but I am not sure.  pyHook may be a subscriber for these window
change events.

Then define all the projects (I think I was going to use an ini file and
ConfigDict) that I might work on and then assign each window title to a

This might give you some quick examples scripts and ideas.

I think it mentions (or I have seen) how to detect if a workstation is
locked (stop the clock).

As for linux - this might be a starting point ...

On Tue, Feb 1, 2011 at 4:22 PM, Tom Roche <Tom_Roche at pobox.com> wrote:

> Apologies if this is OT, but I'm wondering: what software do folks use
> to record activity time, e.g., for client billing?
> I currently use a tool designed to support the Personal Software
> Process. It works well enough: I start it up, choose a bucket to which
> to attribute the time accrued to the current activity, minimize it, and
> then click on the panel icon to start or stop time recording. But
> - the tool is overkill, since I'm only using the timer bit, not any of
>  the PSP stuff.
> - I'd prefer something that was smart enough, or configurable, to turn
>  the timer off when I sleep the box.
> Requirements: must work on linux, be FOSS, save the time log in an
> open/tractable format.
> Preferences: should work on windows, be implemented in python.
> TIA, Tom Roche <Tom_Roche at pobox.com>
> _______________________________________________
> TriZPUG mailing list
> TriZPUG at python.org
> http://mail.python.org/mailman/listinfo/trizpug
> http://trizpug.org is the Triangle Zope and Python Users Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/trizpug/attachments/20110201/e97c21a8/attachment.html>

More information about the TriZPUG mailing list