Global windows hotkey calling js function in chrome window while it is minimized
I have a web player application, and i would like to put it on mute or unmute with a shortcut key.
I want to do this while the chrome window is minimized, for example if i have to answer a call on skype, instead of maximizing the window and pressing the mute button, i would just press a hotkey and the minimized chrome window with my web player application and it would be put to mute.
I can accept 3rd party software, maybe a c++ software that sends my hotkey to the said chrome browser, maybe an auto hot key (.ahk) script? Or maybe a chrome extension that would work while the window is minimized.
Since you seem to know the technical details involved I'll just summarize you how I did this for Pandora with Chrome on Windows.
I wrote an auto hotkey script (ahk) that listens for hotkey combos and executes a php script which in turn modifies a database value (or could write to a file). I then wrote a grease monkey script that runs on the webpage to continuously perform jsonp requests to localhost which echoes the value in the database. The script reacts accordingly and the whole system works flawlessly, albeit may be taxing some system resources. You could also use node js instead of php.