Disable all 'Ctrl' key shortcuts in AutoHotkey?
For the standard shortcuts, refer to this list and setup a hotkey instance to override it. For example, I made an ALT & F4 hotkey, which would normally close the active window, and made it enter some text instead. It works:
ALT & F4::
Send foobar ; This line sends keystrokes to the active (foremost) window.
return
That only fixes each instance. To disable a key (ALT) by itself use:
ALT::Return
For more on that see this.
Watch out for other key combinations made possible by installed software/reg edits such as this video card instance.
Related videos on Youtube
the bosxcz
Updated on September 17, 2022Comments
-
the bosxcz over 1 year
does many iframe affects the loading time of a website?and about the ajax, assuming that i have 2 jsp page.the first one have ajax that is calling the second jsp page. both of the pages have java script functions for example they have the same function called funcA(); and i call the second jsp page using ajax. which function will be executed?the function in first page or in the second page? and do i have to import the css in the second page?or it access the css in the first page?i am just confused in using ajax.
-
Jamie Schembri over 13 yearsHow about
Ctrl::return
? -
pelms over 13 years@Jamie. Tried that
-
William over 5 yearsSharpKeys is your best bet
-
-
pelms over 13 years'CTRL::Return' doesn't work unfortunately.
-
Irwan Mulyawan over 13 yearsIt does actually disable the key when pressed by itself. For key combinations such as copy or paste (ctrl+c, ctrl+v) you have to have separate hotkey instances for each (ex ctrl & c::return) See here: autohotkey.com/forum/topic65275.html
-
the bosxcz over 10 yearsthanks for a clear explanation.
-
the bosxcz over 10 yearsanother question sorry, then when should/can i use iframe?
-
TwilightSun over 10 years@KerPPag iFrame is always deprecated, use it when you're dealing with those legacy browsers where AJAX is impossible. iFrame is hard to control with JavaScript because there will be multiple DOM documents and different browsers have different ways to access them.
-
the bosxcz over 10 yearsbased on what i have read for me portlet it is more complicated than servlet right?
-
Anastasios Vlasopoulos over 10 yearsYes. In every portlet you can have one or more servlets. If you work with portlets then it is far more complicated than working just with servlets.
-
the bosxcz over 10 yearsanother question pops out of my mind. assuming that i have a ajax that send data to the servlet and the servlet responds with i.e (out.println("<input type="text"/>") would they still share the CSS and javascript?