How it works
- Pick the name to flip; if it was off or never set, it becomes on.
- It returns true when the value is now on.
- It's kept for this routine by default, or for all routines with the global scope.
- In a dry run the change stays inside the dry run and the history says "Would turn afk on".
Routines that use it
Free AFK switch
Toggle away, then with Remembered value is mute the sound and lock the PC when on, and unmute when off.
Mic push
One hotkey toggles a mic value and runs Discord: mute based on it.
Desktop icons
Toggle a value and show or hide desktop icons with Show or hide desktop icons.
Settings
| Setting | What it does |
|---|---|
| Name | The on/off value to flip ("afk"). |
Good to know
- It only flips a stored value; you still add the steps that do the on and off work.
Questions
- How do I make a toggle hotkey on Windows 11?
- Give a Hotkey routine a Toggle step, then an If with Remembered value is on for the on steps and the off steps in the else part.
- Does the toggle remember its state after a restart?
- Yes. The value is kept on disk, so the next press continues from where you left off.