Activity Monitor

Sign in to queue

The Discussion

  • User profile image
    Kuldeep

    I just enhanced this tool by adding functionality to show how much time is spent is which all applications. As they dont allow us to upload the code in reply, I will try to upload the code at some other location and will provide the link here.

  • User profile image
    Clint

    @Kuldeep:  Put it on CodePlex or the Channel9 Sandbox

    @ddod: One possible way to track this is to see what the active process is.

    http://www.pinvoke.net/default.aspx/user32/GetActiveWindow.html

    http://www.codeguru.com/vb/controls/vb_shell/article.php/c3053/

  • User profile image
    ddod

    I just read Kuldeep's comment.  I seems that he is claiming he has modified this code to include actual application usage.

    I would love to see the way you did this. Did you ever get this code uploaded anywhere?

  • User profile image
    ddod

    Looking at the running process is one way that we are currently investigating.  We are looking into several other ways (one of which is using WMI to watch for start and delete events).  However we are always interested in seeing what others are doing.

    Thanks for he help.

  • User profile image
    srinivas

    hey, why don't you use stand by time .This tell exactly how much time the user id idle

  • User profile image
    jason

    @srinivas, That's a good idea in theory, however there is also a certain amount of time that needs to be elapsed before the computer goes into standbye.

    For example, if I just decide to pick up and go out somewhere, my computer won't go into standbye at all because I've turned that feature off. Another good example is when users change their standbye times to, say, 15 or 20 minutes. Unless there is a way to detect what their standbye time is, I can't see this being very accurate. But, I still like it! Smiley

  • User profile image
    Mike

    Hi, is there a programatic way that I can simulate input so as to reset the idle timer?

Add Your 2 Cents