Menu
Republished from February 11, 2015 @ 1:54pm
I’m using a Microsoft 4000 Keyboard on a Mac and I use Spotify to play music more than I use iTunes. By default the Play/Pause button on the Microsoft 4000 keyboard will only tell iTunes to Play/Pause. The Microsoft system preferences app does not allow me to send a key stroke to a specific app, nor does Spotify specify a key stroke for Play/Pause. This solution would probably be super hacky for anyone else, but I’m already using something called BetterTouchTool that allows me to control mouse buttons (non-Apple mouse in my case) and keystrokes globally as well as within specific applications.
![Mac Keyboard Controls Spotify Mac Keyboard Controls Spotify](/uploads/1/3/4/0/134073432/717061204.png)
The first step is to create an Applescript to tell the desired application to play/pause. Below is an Applescript that tells the running application (Spotify first, then looks for iTunes) to play/pause. If neither Spotify nor iTunes are running, then launch Spotify and tell it to play. Download mp3 app for android not working. Note that Spotify will only play upon launch if it was playing when it stopped, so the play may not actually happen when it is launched.
View the code on Gist.
Sep 26, 2017 On MacOs High Sierra the play button and next and prev (media buttons in the top of keyboard) are controlling what is in the main window and not my music from Spotify or iTunes. This removes the idea of the button as I now have to open iTunes and then pause the music. Before I could just press the button when in Safari to pause the music. Apple’s MacOS Big Sur introduces the Control Center, a new way to quickly change your Mac’s settings. Here’s how to get the most out of this handy new feature. Escort max 360 software update macos.
You can also use the single statement below to affect only Spotify: Eset nod32 antivirus 9 crack serial number latest download.
![Controls Controls](/uploads/1/3/4/0/134073432/249635374.png)
View the code on Gist.
- Keyboard shortcuts offer you an alternative means of moving around Spotify. It’s perfectly fine to navigate your way around the Spotify window by using a mouse; selecting menus to achieve tasks, and clicking or double-clicking here and there. It’s an extremely intuitive way to go. But at times, you might want to use keyboard shortcuts.
- Here's how to use your Mac's keyboard to easily play or pause and control the media playback on Spotify, Pandora, YouTube and many more. Skip to Navigation Skip to the Content of this Page Back to.
- Open Spotify - Navigate to another screen or app - Press the Play media key to start playback. Expected result: Spotify should resume playing the last track it was on. Actual result: iTunes starts. Note: if I manually start playback on Spotify (by clicking Play or selecting another song), then the media keys will work when other apps have the focus.
Now set the keyboard to issue some unused keystroke when the play/pause button is pressed. https://Breville-Cafe-Roma-Espresso-Machine-User-Manual.peatix.com/. Open System Preferences -> Microsoft Keyboard Download game the forest indonesia.
Select the “Key Settings” tab and highlight “Play/Pause”, then click the “Reassign” Button.
Under “Select a command:” choose “Keystroke”. Click in the “Press a key” text box and press some unused key combination. I chose Control-Command-Shift-k. While that may be used for something, I will never press that key combo.
Now, press the “OK” button and close the System Preferences.
Spotify Keyboard Shortcut
The last step is configure BetterTouchTool. Open BTT preferences.
Mac Keyboard Controls Spotify App
- For “Application” select “Global”
- On the bottom right chose “+ Add New Shortcut”.
- Click in “Keyboard Shortcut” and push the Play/Pause button on the keyboard which should enter the assigned key combination chosen in the keyboard preferences.
- The dropdown under “Trigger Predefined Action:”
- Select the “Controlling Other Applications” section
- Chose “Open Application / File / Applescript…” and browse to your saved Applescript.
Close BetterTouchTool and test your Play/Pause button.
Mac Keyboard Control Spotify
If you did not have BTT set up before starting, you may need to set it to launch automatically as well as other preferences. Check those to ensure it will continue to work the way you want.