How-To Geek

Script Suggestion: Turn Off Music If Inactive 5 Minutes

I tend to get dragged into new tasks as I meander around the building and sometimes going for a drink of water ends of turning into an hour long tech support venture. If I’m just running to the drinking fountain I usually don’t turn off my music. I’m wondering if anyone has written a script that detects both key presses and mouse movement simultaneously? Ideally I’d love to have a script that if neither are detected after 5 mins, it closes my music app.

  • Published 06/23/10

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers


Go check your email!