How to pause music when you walk away and resume when back
Use KeyRoutines' Idle trigger to pause with Media control when nobody has touched the PC for a while, and Remember a flag if music was playing. The Back at the PC trigger checks Remembered value is and plays again only if it paused it.
Steps
- 1
Add both triggers
Add Idle set to 10 minutes and Back at the PC set to after 10 minutes away.
- 2
Going idle
Add an If with Started by trigger set to Idle. Inside, if Media is playing, add Media control set to Pause and Remember pausedByMe as on.
- 3
Coming back
In the Else branch, add an If with Remembered value is pausedByMe on, then Media control set to Play and Remember pausedByMe as off.
Tips
- Watching a video without touching the mouse counts as idle too; add an App or window in front check to skip your video player.
Questions
- Does it use the microphone or camera to see me?
- No. Idle only means no keyboard or mouse input.
- Is it free?
- Yes.