I am attempting to write an Auto HotKey script involving the media keys of my keyboard, but the key presses, such as Media_Play_Pause, do not seem to correspond to my media keys.
While the media keys on my keyboard (Logitech Wireless K360) work on media applications (tested on iTunes, Spotify, VLC, WMP) I cannot capture the press. Nothing shows up when I use the Auto HotKey script in from this post https://superuser.com/questions/368633/play-pause-pandora-com-with-a-media-key or when I am in the Keyboard Shortcuts settings in Google Chrome.
Thoughts?
If you access the 'players.ini' file in SetPoint, you can actually add different programs and apps to Set Point's functionality.
Steinerd.com, http://steinerd.com/developments/hacks/media-keys/ had the most comprehensive explanation that I was able to find.
TL:DR (from https://gist.github.com/julianxhokaxhiu/f5ea4bb922e3ab1d7fec)
Open C:\Program Files\Logitech\SetPointP\players.ini
Add these lines to their respective sections
[Players]
GooglePlayMusic=key,chrome.exe,Chrome_WidgetWin_1,xxx,xxx,&0xB3,&0xB3,&0xB2,&0xB1,&0xB0,0,1,Google Play Music
[Players.Run]
GooglePlayMusic=path,%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Web Applications_crx_icppfcnhkcmnfdhfhphakoifcfokfdhg\Google Play Music.ico
[Players.Display]
GooglePlayMusic=Google Play Music
- Restart your PC - OR - Kill 'Logitech SetPoint Event Manager' via Task manager and reopen the Logitech Setpoint software settings from Start menu or Control Panel