task scheduler setting batteries

Allows you to specify whether the task should be stopped when the computer begins or whether it should not be started if the computer is running on battery.


Example

Running this code will stop tasks and disallow tasks to start if the computer is running on batteries.

plugin command("OS Automation.dll", "task scheduler setting batteries", "True", "True")

Was this helpful?