From about two months I’m a happy owner of Asus G73SW. In this model with four media keys, which in fact are keyboard shortcuts, you can control multimedia apps. However, with standard software shipped with notebook you are able to control just two of them: Roxio Cineplayer and Windows Media Player. Unfortunately, there’s no support for other multimedia applications. As I don’t use none of these I wanted to make multimedia keys work with foobar2000. In effect I’ve developed a small application, which allows you control foobar with Asus multimedia keyboard shortcuts. I’ve tested it only with Asus G73SW, ATKHotkey 126.96.36.199 and foobar2000 1.1.5. On my machine it works just fine, and I think there’s a chance to make it work with other Asus notebook models (feel free to add a comment if this solution worked for you).
To make it work (or better say, to try make it work) perform following steps:
1. Download application from the first link given above.
2. Open task manager, find process named DMedia.exe and terminate it.
3. Unpack zip file, and copy files to ATK Media installation folder. For example, on my machine it’s
C:\Program Files (x86)\ASUS\ATK Package\ATK Media. You have to copy both files there and overwrite existing executable named
DMedia.exe. Better solution is to change old executable name (to
DMedia.exe.old for example) and keep it in case you will want back to it someday.
4. Now you just need to restart your machine.
If everything went as should, from now you should be able to control foobar with your media shortcuts:
Fn + Down arrow – Play/Pause
Fn + Up arrow – Stop
Fn + Left arrow – Previous track
Fn + Right arrow – Next track
Each of them also launch player if it wasn’t started yet.
icpt.conf keeps two configuration options. First is window class name used by WinAPI
FindWindow function to find foobar2000 window, second is path to application that will be executed in case the player window wasn’t found.