Task Schedule on resume from idle?

1

With schtasks.exe (Windows Task Scheduler for command prompt), you can make a task that is triggered on idle, which I use. However, is it possible to make a trigger on resume from idle? I.E., when the computer is no longer idle?

Mark Deven

Posted 2018-09-15T16:06:01.000

Reputation: 1 101

Answers

2

There is no trigger on idle end, but there is one for idle start. Here is an idea how to use it for solving the problem :

  • Create a scheduled dummy task for which :

    • Start condition is On idle
    • Stop condition is if the computer ceases to be idle
  • Create another task that waits for the dummy task to start, and triggers the wanted action when it stops.

Use whatever tools fit the job, such as perhaps AutoHotkey.

harrymc

Posted 2018-09-15T16:06:01.000

Reputation: 306 093

Ok I can probably use a simple bat file using task list. Thank you! – Mark Deven – 2018-09-15T18:28:08.133