KeyRoutines
StepFreeroutine.setEnabled

Turn a routine on or off automatically from a routine

Turn routine on or off enables or disables another routine. A disabled routine's triggers stop listening until it's turned back on, which is a neat way to pause automations for a while.

How it works

  • Pick the routine and choose on or off.
  • It reports whether anything changed; if the routine was already in that state it just says so.
  • In a dry run it only describes what it would do, such as "Would turn off Work Mode".

Routines that use it

Pause during calls

When Mic or camera in use fires, turn off a routine that plays reminders with Speak text, and turn it back on afterwards.

Weekend switch

On Friday evening, turn off your work routines and turn on a set of weekend ones.

Battery saver

When Plugged in or unplugged reports battery, disable a frequent Every … routine.

Settings

SettingWhat it does
EnabledOn (true) or off (false).

Good to know

  • A routine made with a newer version of KeyRoutines can't be changed by this step.

Questions

How do I pause a routine automatically?
Add Turn routine on or off to another routine and choose off. Its triggers stop until you turn it on again.
Does turning a routine off stop a run that's already going?
This step only enables or disables it. To end a run in progress, use Cancel routine.

Pairs well with

Build this routine in KeyRoutines

Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.