Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to run a task every time I sit down at my computer, so that I will effectively run the task once when the computer ceases to be idle. I can't see a way to do this. Any suggestions?

share|improve this question
    
May we know the task you wish to run? Have you much experience of Task Scheduler? –  Guy Thomas Jan 5 '13 at 20:56
    
So you want a task to run automatically as soon as you start using the PC? Is it too hard to, for example, manually click a shortcut? Otherwise as Guy said, configure Group Policy settings and use Task Scheduler as mentioned here to trigger the task based on event IDs for specific criteria, such as logon/logoff, workstation lock/unlock, screensaver start/end etc. –  Karan Jan 5 '13 at 23:57
    
It is not critical, but I want to log the time spent actually sitting at the pc. I have a little Autohotkey program that I wrote that will do some things in the background for me. I could click a shortcut, but I don't trust myself to. I could also create an event to happen at login, but I prefer not to sign in and out on this pc. There are other ways, but as far as I can tell, this is the optimal solution for what I am looking to do. I will check the link. –  user1167442 Jan 7 '13 at 6:00
    
I was unaware of screensaver end event. That may do it. –  user1167442 Jan 7 '13 at 6:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.