crimsoncantab / aok-hotkeys

Hotkey Editor for Age of Empires II
Other
25 stars 9 forks source link

cannot set "ctrl+F4" as a shortcut #46

Open DavidGretzschel opened 7 years ago

DavidGretzschel commented 7 years ago

In all the browsers I've tested so far (Firefox, Chrome, Edge, Opera) it closes the current tab. Apparently this is somehow hardcoded into Firefox and cannot be disabled by an addon. http://stackoverflow.com/questions/7855452/how-to-disable-closing-firefox-7-tab-using-ctrlf4 I find this a very desirable shortcut for creating control group 9 (My keyboard is split, so I can't use the other numbers reliably without looking). However I have no way to actually set it, because when I do I close the tab and don't change the hotkey value. It's very important for me and potentially for everybody, if the HD devs decide to bring us twenty control groups again (one can hope...).

Vollkornaffe commented 5 years ago

Click on the field you want to set and open up console (with f12 by default)

then type in

assign_key({code: 115, shift: false, alt: true, ctrl: false})

and hit enter!