• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:34
CET 12:34
KST 20:34
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
BGE Stara Zagora 2026 announced2[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2
StarCraft 2
General
BGE Stara Zagora 2026 announced SC: Evo Complete - Ranked Ladder OPEN ALPHA When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
Which season is the best in ASL? BGH Auto Balance -> http://bghmmr.eu/ Data analysis on 70 million replays sas.vorti stream [BSL21] Ro.16 Group Stage (C->B->A->D)
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Nintendo Switch Thread The Perfect Game Stormgate/Frost Giant Megathread Beyond All Reason Should offensive tower rushing be viable in RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Artificial Intelligence Thread YouTube Thread Things Aren’t Peaceful in Palestine
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2436 users

[H] Disable Ctrl+Esc

Forum Index > Tech Support
Post a Reply
waffling1
Profile Blog Joined May 2010
599 Posts
Last Edited: 2011-01-17 00:38:46
January 16 2011 20:25 GMT
#1
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.
BadWolf0
Profile Joined September 2010
United States300 Posts
January 16 2011 20:26 GMT
#2
theres an option under the "options menu" that says disable system shortcuts. is that not working?
All hail the Queen!!!
Torpedo.Vegas
Profile Blog Joined January 2011
United States1890 Posts
January 16 2011 20:27 GMT
#3
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.
MOOG
Profile Joined October 2010
United States188 Posts
January 16 2011 21:13 GMT
#4
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
To Do: 1. finish the rest of my practice league matches 2. win GSL
waffling1
Profile Blog Joined May 2010
599 Posts
Last Edited: 2011-01-16 22:22:45
January 16 2011 22:12 GMT
#5
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.
Kuzmorgo
Profile Joined May 2009
Hungary1058 Posts
Last Edited: 2011-01-16 22:29:57
January 16 2011 22:28 GMT
#6
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
"No, whine not! Play, or play not! There is no whine."
MOOG
Profile Joined October 2010
United States188 Posts
January 16 2011 22:37 GMT
#7
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
To Do: 1. finish the rest of my practice league matches 2. win GSL
waffling1
Profile Blog Joined May 2010
599 Posts
Last Edited: 2011-01-16 22:42:20
January 16 2011 22:39 GMT
#8
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.


MOOG
Profile Joined October 2010
United States188 Posts
Last Edited: 2011-01-16 22:47:24
January 16 2011 22:43 GMT
#9
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.
To Do: 1. finish the rest of my practice league matches 2. win GSL
waffling1
Profile Blog Joined May 2010
599 Posts
January 16 2011 22:46 GMT
#10
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.
MOOG
Profile Joined October 2010
United States188 Posts
Last Edited: 2011-01-16 23:05:26
January 16 2011 22:48 GMT
#11
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.
To Do: 1. finish the rest of my practice league matches 2. win GSL
Kuzmorgo
Profile Joined May 2009
Hungary1058 Posts
January 16 2011 23:00 GMT
#12
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!!
"No, whine not! Play, or play not! There is no whine."
waffling1
Profile Blog Joined May 2010
599 Posts
Last Edited: 2011-01-16 23:00:51
January 16 2011 23:00 GMT
#13
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.
waffling1
Profile Blog Joined May 2010
599 Posts
Last Edited: 2011-01-17 00:29:46
January 16 2011 23:03 GMT
#14
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
cwepahguy225
Profile Joined October 2014
United States1 Post
October 18 2014 17:03 GMT
#15
when I type, I cant use colons. Can someone give me a step by step explanation of how to get to the config.
Please log in or register to reply.
Live Events Refresh
Next event in 3h 27m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 192
ProTech126
Harstem 97
StarCraft: Brood War
Britney 31504
Sea 4699
Rain 1683
Horang2 1661
Shuttle 1218
Hyuk 456
Mini 443
BeSt 338
firebathero 304
Larva 269
[ Show more ]
Backho 193
EffOrt 174
Light 163
Soulkey 120
ZerO 96
Rush 85
Leta 85
Soma 79
hero 70
Barracks 61
ToSsGirL 55
soO 51
Mong 40
Aegong 35
Sea.KH 31
Sharp 26
Free 23
Sacsri 20
sorry 18
Noble 17
Bale 15
Terrorterran 13
Icarus 12
Dota 2
XcaliburYe145
NeuroSwarm71
League of Legends
JimRising 365
Reynor130
Counter-Strike
olofmeister2099
allub277
Other Games
B2W.Neo528
Pyrionflax348
ceh9312
Fuzer 280
Mew2King103
QueenE42
nookyyy 20
MindelVK13
ZerO(Twitch)10
Organizations
Dota 2
PGL Dota 2 - Main Stream255
StarCraft: Brood War
lovetv 12
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2190
Other Games
• WagamamaTV263
Upcoming Events
WardiTV Korean Royale
3h 27m
ByuN vs herO
ByuN vs Classic
OSC
5h 27m
LAN Event
6h 27m
Replay Cast
11h 27m
Replay Cast
21h 27m
WardiTV Korean Royale
1d
Sparkling Tuna Cup
1d 22h
WardiTV Korean Royale
2 days
Replay Cast
2 days
Wardi Open
3 days
[ Show More ]
Monday Night Weeklies
3 days
StarCraft2.fi
3 days
Replay Cast
3 days
Wardi Open
4 days
StarCraft2.fi
4 days
Wardi Open
5 days
StarCraft2.fi
5 days
Replay Cast
5 days
The PondCast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.