I have a Microsoft keyboard with a play/pause button. Is there a way I can map the play/pause key to the Play/Pause button on the Pandora website?
I use Chrome as my browser and am running Windows 7.
I have cooked up a solution using AutoHotkey. It takes a bit to set up, but it is worth it!
Create and run the following script, in the same manner as Steps #2-6 above. Replace
Now, when you have Pandora.com open and you press your play/pause key, the script will click play/pause on Pandora.com and return you back to where you were.
http://www.daveamenta.com/2010-06/pandora-one-media-keys-enable-them/ This guy created a .exe that maps the media keys for you.
This Auto Hotkey script worked for me, for the Web Version of Pandora (in Chrome). The script searches for the active window title with the word "Pandora", sends the space bar keystroke to Pause/Play, then minimizes the window, returning to your original window. The "SetTitleMatchMode, Slow" helps the script better identify hidden windows.
This example sets the "Pause/Break" key as the Pause Button, and Alt + "Pause/Break" will go to the next song. To change the button, use the key idenitfier method above and replace "SC045" with that Key.
The "Sleep, 50" improves performance by slowing down the script a little bit. If you find that sometimes that the script does not work, try adding more time in these lines: ex. "Sleep, 75"