Awhile ago, I posted about how you can assign the Spotify Play/Pause Action to a Keyboard Shortcut using Keyboard Maestro if you are using a keyboard with no pause/play buttons. I received an email asking me of there’s any way to accomplish this without spending the money for Keyboard Maestro. The answer: Yes, there is. You can accomplish the same thing using Apple’s built in Automator app, although it requires a few more steps, as outlined below. I’m guessing that the same process would work with the Rdio app as well.
Quick Guide: Assign Spotify Play/Pause Action to a Keyboard Shortcut using Automator
- Launch the Automator Application.
- Select File ➪ New from the menu.
- Click Service from the menu and then click Choose.
- Click in the Search box in the center column and type: Run Applescript.
- Drag the Run Applescript item in the main window area.
- Click the Service receives drop-down list and choose no input.
- In the Run Applescript window, replace the line which reads (* Your script goes here *) with: tell application “Spotify” to playpause
- Select File ➪ Save from the menu and type in a name for your new service.
- Now select > System Preferences from the Finder menu.
- Click the Keyboard icon.
- Click the Shortcuts tab on top of the screen.
- Click Services in the left pane.
- In the scroll all the way down to the General area and find the Spotify service that you created.
- Click the Add Shortcut button to the right of the Service name and press the shortcut you want to use (Try something like: ⌃⌥P).
- You can test your shortcut by choosing System Preferences ➪ Services ➪ and then click the name of your Service.
- That’s it! Now whenever you tap the shortcut key you specified, Spotify will pause or play.
To create an action to skip to the next song (rather than pause), the process is the same as above except in the Run AppleScript window, type the following:
tell application “Spotify” to next track
Recent Comments