I am trying to run a kiosk-mode browser and I want to disable Ctrl-N opening a new window. I don't want to do it in JS (I only want Ctrl-N to be disabled in kiosk mode, and in any case it isn't possible in Chrome).
I have just discovered AutoHotkey as a possible solution, but I am a complete newbie. I wrote this but it doesn't work:
^n::return
RunWait C:\Program Files\Internet Explorer\iexplore.exe
ExitApp
Using the SciTE debugger, it never comes back from executing the first line. I understood that the first line would ignore Ctrl-N, but it seems that I'm completely misunderstanding something about how hotkeys are handled. If I comment out the first line, IE launches as expected.
Can anyone help explain what I need to do here?