[Blink] Blink Feature Request: Pause Spotify

Thomas Haines thomas.haines at gmail.com
Mon Jun 30 07:51:54 CEST 2014

At the moment, iTunes can be paused by the preferences.  For the Spotify
users, it would be great to be able to pause that (also/instead).

I wrote this applescript as a way around it, in case you can use the
AppleScript - python bridge to achieve it:

*on* is_running(Spotify)

*tell* *application* "System Events" *to* (name *of* *processes*) *contains*

*end* is_running

*set* safRunning *to* is_running("Spotify")

*if* safRunning *then*

*tell* *application* "Spotify"


*end* *tell*

*end* *if*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20140630/afed98f6/attachment.html>

More information about the Blink mailing list