How to: Use Global Hot Keys for Pandora (Web Version) using Autohotkey and Chrome

1. Download and install Google Chrome if you don’t already have it. This can also be done with Firefox using Prisms but I won’t be showing you how to do that.

2. Download and install autohotkey

3. Create a web application for Pandora http://support.google.com/chrome/bin/answer.py?hl=en&answer=95710

4. Use the following autohotkey script http://www.notunusual.net/pandoraone_autohotkey/keyboard-short-cuts/
Replace

DoesPandoraExist()
{
	IfWinExist, Pandora
	{
		IfWinExist, ahk_class ApolloRuntimeContentWindow
		{
			return true
		}
	}
	return false
}

with

DoesPandoraExist()
{
	IfWinExist, Pandora
	{
            return true
	}
	return false
}

The script is for the desktop app so this just changes it so you can just use the web application.

Start the script and you are done! If you want to have the script auto run at startup, drag it to your startup folder.

To help you replace the pay-ware desktop app you may find Minimize Chrome to tray helpful https://chrome.google.com/webstore/detail/ajedaeoideoipodoijpbpabhhadnniac

8 thoughts on “How to: Use Global Hot Keys for Pandora (Web Version) using Autohotkey and Chrome

  1. carlos xuma power social skills

    Men often objectify ladies but girls are much less probably to accomplish
    the same to men. Females are much more psychological while men are less likely to be as psychological.
    What would be the simple psychological differences among women and men, since because they are both human
    beings they ought to be exact same?

    Reply
  2. Shawn Mathis

    Does not work here either. Win 7 x64, Pandora as pinned to taskbar. ctrl+win+alt+space not pausing. Thanks for the effort. Maybe such simple controls will finally be part of windows 25

    Reply
  3. Shawn Mathis

    Here’s the code that works with chrome extension (SC122 is the media_pause key on my keyboard; us any other key combo you want):

    ;Using media_pause from http://superuser.com/questions/368633/play-pause-pandora-com-with-a-media-key
    ;Find key number in win 7 for media_pause by recording via hotkey –>122
    ;Find number of space to move via tab to hit pause…10 in chrome, 7 in chrome application

    SC122::
    SetTitleMatchMode, 1
    WinGet, original, ID, A
    WinActivate, Pandora One
    Send ^l
    ;Send {Tab 7} don’t need this but could.
    Send {Space}
    WinActivate, ahk_id %original%
    Exit

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s