Pause iTunes for X minutes

Sharing and discussing custom actions for LaunchBar
Post Reply
alfista2600
Posts: 2
Joined: Fri Nov 20, 2015 12:01 am

Pause iTunes for X minutes

Post by alfista2600 » Fri Nov 20, 2015 1:28 am

So, like the Caffeinate action, is there a way to pause music for a certain amount of time?

I often pause when I get a call, and three hours later forgot I was listening to music.

lycopodiopsida
Posts: 16
Joined: Mon Nov 10, 2014 1:01 pm

Re: Pause iTunes for X minutes

Post by lycopodiopsida » Wed Nov 25, 2015 2:29 pm

I think you could easily write an action, with JS/Applescript. It should pause itunes, then run a countdown with time value from your input and after it runs out let itunes play again. Look here for a code example: http://forums.macrumors.com/threads/creating-a-timer-with-applescript.1212456/#post-13178866

However, in my opinion, it is much easier to with Keyboard Maestro.

Post Reply