This would be a way a round to make sure that console shortcut cmd + alt +j
does not ovveride other app such as chrome shortucts.
Could use focus and event lister to add and remove global shortcut from app when is not in focus
//get the window
var gui = require('nw.gui');
var win = gui.Window.get();
//listner
win.on('focus', function() {
console.log('New window is focused');
});
in lib/app/app.js line 60.
Another option is to use mouse trap js. Which is what is used for the keyboard shortcuts in transcription show page. Would need to figure out a way to set this so that it works on every window.
This would be a way a round to make sure that console shortcut cmd + alt +j does not ovveride other app such as chrome shortucts. Could use focus and event lister to add and remove global shortcut from app when is not in focus
http://docs.nwjs.io/en/latest/References/Window/#synopsis
in
lib/app/app.js
line60
.Another option is to use mouse trap js. Which is what is used for the keyboard shortcuts in transcription show page. Would need to figure out a way to set this so that it works on every window.