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 easily create a javascript event for the said combination to put the player on mute, i just need a solution to mute it while the chrome window of the player is minimized and out of focus.

I have tried the "Shortcut Manager 0.7.9" extension for chrome but it does what i can already do in javascript, it doesn't work if the window is minimized.

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.

Need Your Help

Common database patch for multiple databases

java database hibernate orm

I am working on a application that needs to support as many as five databases now while only MSSQL and MYSQL were the two supported databases earlier. Although the connection are managed through a