KeyRoutines

Branch (If and Switch)

A branch lets a routine do different things depending on a condition.

An If runs its steps when its condition is true and, optionally, other steps in its Else branch when it isn't. A Switch picks one of several branches. Branches are how one routine can toggle something, for example switching to the headset if the speakers are on and the other way round.

Related

Build this routine in KeyRoutines

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