|
Can any computer savy person help me out disabling this shortcut keystroke that's a part of Windows?
Ctrl+ Esc acts as pressing the Windows button (no, disabling windows key in SC2 does not disable this Windows-innate keystroke), and it conflitcs with my new compact keyboard that has ~ and F1 close to Esc. I end up jumping out of my game when i intended to select all Idle workers.
I tried looking it up on google, but only someone who already knows how to code get it. I was hoping for an easier step-by-step instructions for this, thanks
Edit: SOLUTION: + Show Spoiler +1) download AutoHotkey http://www.autohotkey.com/docs/Hotkeys.htm (installed version or standalone version) 2) Openning the exe file will open a sample script. some instructions to get you understanding things is on there 3) edit the script and type in on any new line: ^Escape::return ^ stands for ctrl return has it disabled :: means pressing the stated keystroke on the left side results in the action that is on the right side of the double colons. warnings/note: + Show Spoiler +*If there is an error in the script, it won't let you open it. So you need to manually navigate to the file to edit it. * that default/sample script located is in mydocuments. that is the script that will run by default when you double click autohotkey.exe file, or from your start menu. Changing the location of this default/sample file will result in failure. * Further scripts can be made; use this table for the symbols for keys, as well as syntax and grammar. http://www.autohotkey.com/docs/Hotkeys.htm# represents start menu button ^ ctrl ! alt combinations of these modifier keys can be in any order, as long as the non-modifier key comes directly after them without any space. so ^!delete::return means ctrl+alt+delete will disable its usual function.
|
theres an option under the "options menu" that says disable system shortcuts. is that not working?
|
Yeah, whoever though putting that darn windows button smack dab in the middle of Alt and Ctrl really was not thinking about the plight of the competitive gamer.
|
Install autohotkey and in your autohotkey config have the entry ^Escape::return this makes it so the control + esc combination does nothing. Caret represents the control modifier, and the :: is a remapping function. May have to enclose escape in brackets, i'm not sure. I'm not in windows at the moment.
http://www.autohotkey.com/docs/Hotkeys.htm
|
On January 17 2011 06:13 MOOG wrote:Install autohotkey and in your autohotkey config have the entry ^Escape::return this makes it so the control + esc combination does nothing. Caret represents the control modifier, and the :: is a remapping function. May have to enclose escape in brackets, i'm not sure. I'm not in windows at the moment. http://www.autohotkey.com/docs/Hotkeys.htm
i got the zip version where you don't need to run the installer.
Can you tell me exactly which file to open and what to type in it? i don't get any of this implicit programming lingo.
like autohotkey.exe -> type:
^Escape::return
or somethig like that.
i run the exe file, but there's no window. i double click it again, but it says it's already running.
|
On January 17 2011 07:12 waffling1 wrote:Show nested quote +On January 17 2011 06:13 MOOG wrote:Install autohotkey and in your autohotkey config have the entry ^Escape::return this makes it so the control + esc combination does nothing. Caret represents the control modifier, and the :: is a remapping function. May have to enclose escape in brackets, i'm not sure. I'm not in windows at the moment. http://www.autohotkey.com/docs/Hotkeys.htm i got the zip version where you don't need to run the installer. Can you tell me exactly which file to open and what to type in it? i don't get any of this implicit programming lingo. like autohotkey.exe -> type: ^Escape::return or somethig like that. i run the exe file, but there's no window. i double click it again, but it says it's already running.
I think if you just make a text file in notepad, save as [whateverulike].ahk, it should work. In the file write (case-sensitive irrc): Esc::Enter
Than double click the file. It works for me. Alternatively, i completely removed the win-key from my keyboard, you could do that with the ESC-key aswell.
EDIT: oh sry, if you didnt install autohotkey, i guess you would have to manually assign windows to run the file with it, cause it wont recognize it. Hope it helped
|
when you start autohotkey by double clicking the program, autohotkey loads autohotkey.ahk in your homefolder/my documents.
If you used the installer, it would create autohotkey.ahk for you. if not, it might automatically create an example autohotkey.ahk in the right spot the first time you run the program.
I don't think you should make an .ahk [whateverulike].ahk. the default config file it always loads is autohotkey.ahk in your documents folder. you don't have to manually assign windows to run the the file if it is appropriately named and placed.
easy scripts like these aren't exactly programming lingo. I learned how to use autohotkey before I learned a little bit about programming. If there is any misunderstanding it is either poor instructions or poor comprehension. some people make some huge complicated scripts in autohotkey with loops and shit, and you can blame THAT on lingo
|
On January 17 2011 07:28 Kuzmorgo wrote:I think if you just make a text file in notepad, save as [whateverulike].ahk, it should work. In the file write (case-sensitive irrc): Esc::Enter Than double click the file. It works for me. Alternatively, i completely removed the win-key from my keyboard , you could do that with the ESC-key aswell. EDIT: oh sry, if you didnt install autohotkey, i guess you would have to manually assign windows to run the file with it, cause it wont recognize it. Hope it helped
k i get that u just make a notepad file, rename the suffix, and run it now.
Not installinng is not an issue, it's basically a "portable" version. As long as i double click it, and the script is running, it's all good. I can right click the tray icon and go to "edit script". so i figured out my first problem of where to code. now for the actual code.
The code of ^Escape::return is not working for me.
is return the thing that is used to have the keystroke do nothing?
@MOOG yeah, i didn't know basic paradigms. namely, i didn't know where to go to script. now that's solved.
Perhaps you can get ctrl esc to become innert and then copy paste me the code? i'm fine with reverse engineerig and seeing patterns to learn the lingo.
|
Doesn't work? that's unfortunate. I don't have any other suggestions. Maybe someone better knows.
according to http://www.autohotkey.com/docs/Hotkeys.htm ,
A key or key-combination can be disabled for the entire system by having it do nothing. The following example disables the right-side Windows key:
RWin::return
edit make sure you reload the autohotkey config file after every change. right cilck on the big h and reload.
did you try ^{Escape}::return ?or was it ^[Escape]::return? i forget, but sometimes special keys need to be enclosed in brackets. it doesn't hurt to try them both.
|
now i messed up the code, and when i try to run the exe file, it says there is an error, and that it will close, and i can't access the sample scrip to edit the problem.
|
you can always access the sample script by going to waffling1\my documents, right click on autohotkey.ahk, and click on open with, then open it with wordpad or notepad.
autohotkey checks your config file for faulty code and won't run if it detects some types of faults.
i can't do it for you because i'm running ubuntu right now and I need to stay in ubuntu, and autohotkey isn't for ubuntu.
|
On January 17 2011 07:39 waffling1 wrote:Show nested quote +On January 17 2011 07:28 Kuzmorgo wrote:I think if you just make a text file in notepad, save as [whateverulike].ahk, it should work. In the file write (case-sensitive irrc): Esc::Enter Than double click the file. It works for me. Alternatively, i completely removed the win-key from my keyboard , you could do that with the ESC-key aswell. EDIT: oh sry, if you didnt install autohotkey, i guess you would have to manually assign windows to run the file with it, cause it wont recognize it. Hope it helped k i get that u just make a notepad file, rename the suffix, and run it now. Not installinng is not an issue, it's basically a "portable" version. As long as i double click it, and the script is running, it's all good. I can right click the tray icon and go to "edit script". so i figured out my first problem of where to code. now for the actual code. The code of ^Escape::return is not working for me. is return the thing that is used to have the keystroke do nothing? @MOOG yeah, i didn't know basic paradigms. namely, i didn't know where to go to script. now that's solved. Perhaps you can get ctrl esc to become innert and then copy paste me the code? i'm fine with reverse engineerig and seeing patterns to learn the lingo.
Nonono
The point is its not "return", its "Enter"!!!! I tried it with return first, but it didnt work, then i thought, "well, it says enter on it, so i will give it a try", and it works with Enter!!
|
On January 17 2011 07:48 MOOG wrote: you can always access the sample script by going to waffling1\my documents, right click on autohotkey.ahk, and click on open with, then open it with wordpad or notepad.
autohotkey checks your config file for faulty code and won't run if it detects some types of faults.
one more question. how would i set a script to run upon startup? draggingn to the startup on start menu doesnt seem to exactly do it.
i already have logitech setpoint , my mouse drive on startup, but when i navigate to the startup folder through folders (rather than the start button), it doesn't show up.
Also, i have Ccleaner, which has a startup tool, which allows you to disable certain things on that list, but getting something to be on that list in the first place is a mystery.
|
On January 17 2011 08:00 Kuzmorgo wrote:Show nested quote +On January 17 2011 07:39 waffling1 wrote:On January 17 2011 07:28 Kuzmorgo wrote:I think if you just make a text file in notepad, save as [whateverulike].ahk, it should work. In the file write (case-sensitive irrc): Esc::Enter Than double click the file. It works for me. Alternatively, i completely removed the win-key from my keyboard , you could do that with the ESC-key aswell. EDIT: oh sry, if you didnt install autohotkey, i guess you would have to manually assign windows to run the file with it, cause it wont recognize it. Hope it helped k i get that u just make a notepad file, rename the suffix, and run it now. Not installinng is not an issue, it's basically a "portable" version. As long as i double click it, and the script is running, it's all good. I can right click the tray icon and go to "edit script". so i figured out my first problem of where to code. now for the actual code. The code of ^Escape::return is not working for me. is return the thing that is used to have the keystroke do nothing? @MOOG yeah, i didn't know basic paradigms. namely, i didn't know where to go to script. now that's solved. Perhaps you can get ctrl esc to become innert and then copy paste me the code? i'm fine with reverse engineerig and seeing patterns to learn the lingo. Nonono The point is its not "return", its "Enter"!!!! I tried it with return first, but it didnt work, then i thought, "well, it says enter on it, so i will give it a try", and it works with Enter!!
what if i want it to do nothing at all?
funny, MOOG. ^Escape::return started to work now.. -_-
Thank you both So much
|
when I type, I cant use colons. Can someone give me a step by step explanation of how to get to the config.
|
|
|
|