ihenvyr Posted April 17, 2006 Share Posted April 17, 2006 this script: HotKeySet("{LCTRL}", "DoNothing") HotKeySet("{RCTRL}", "DoNothing") HotKeySet("a", "DoNothing") HotKeySet("{ENTER}", "DoNothing") While 1 Sleep(10) WEnd Func DoNothing() EndFunc it disable the key LCTRL, RCTRL, ENTER and A but why is it that pressing A or ENTER while holding the LCTRL or RCTRL down still sends A or ENTER? i play need for speed underground 2, and it does.. is there a way to disable hotkey ctrl+a or ctrl+enter? any ideas? thanks guys.... Umbrella Member Link to comment Share on other sites More sharing options...
Valuater Posted April 17, 2006 Share Posted April 17, 2006 maybe HotKeySet("^a", "DoNothing") 8) Link to comment Share on other sites More sharing options...
GaryFrost Posted April 17, 2006 Share Posted April 17, 2006 this script: HotKeySet("{LCTRL}", "DoNothing") HotKeySet("{RCTRL}", "DoNothing") HotKeySet("a", "DoNothing") HotKeySet("{ENTER}", "DoNothing") While 1 Sleep(10) WEnd Func DoNothing() EndFunc it disable the key LCTRL, RCTRL, ENTER and A but why is it that pressing A or ENTER while holding the LCTRL or RCTRL down still sends A or ENTER? i play need for speed underground 2, and it does.. is there a way to disable hotkey ctrl+a or ctrl+enter? any ideas? thanks guys.... you would probably be better off using _IsPressed, otherwise I believe you'll need to use all combinations of the keys you don't want to use. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
ihenvyr Posted April 17, 2006 Author Share Posted April 17, 2006 you would probably be better off using _IsPressed, otherwise I believe you'll need to use all combinations of the keys you don't want to use.thank you very much.. Umbrella Member Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now