26

I have Windows 7 pro at work. My problem is I keep on forgetting to clock in/clock out (using the intranet timesheet system). Is there a way to run a script or command to automatically open the timesheet page each time I lock/unlock my station?

GEOCHET
  • 21,119
  • 15
  • 74
  • 98
Tam N.
  • 2,687
  • 9
  • 30
  • 29

2 Answers2

34

Yes, windows 7 task scheduler allows a dizzying array of new ways to schedule tasks:

One is on log on, and another is on event which could be a security event for locking the workstation.

Administrative Tools --> Task Scheduler
    - Create Task 
    --> Triggers Tab 
    --> New Button 
    --> Begin Task drop down box... 

etc.
John Weldon
  • 39,849
  • 11
  • 94
  • 127
  • yay it worked! is there a way to make it so that the computer will NOT lock until i kill iexplore.exe? tyvm! – Tam N. Dec 02 '09 at 04:59
  • 3
    Not that I know of... you may want to make a task that automatically writes the time to a text file when you lock the screen, and then when you unlock it then automatically bring up the timesheet AND the text file... – John Weldon Dec 02 '09 at 05:06
  • Nice. I wonder if its possible to pass as argument which trigger/event that started the task? – Superole Feb 11 '13 at 09:31
1

You can use the trigger event "on workstation unlock"...or "on workstation lock", in Windows 10 task scheduler.