• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:31
CET 15:31
KST 23:31
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
$5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle screp: Command line app to parse SC rep files How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1677 users

Camera Hotkey Setup - Useful AHK

Forum Index > SC2 General
Post a Reply
Intricate1
Profile Joined May 2011
169 Posts
July 13 2011 09:23 GMT
#1
Thought I would share my Camera Hotkey AHK, It's for anyone using multiple Camera Recall Hotkeys at standard spots each match.

The script simplifies the process of binding the locations to a single key, In this case F8.

I Use the 3,4,5,6 and 7 keys as my Camera hotkeys,

Meaning At the start of the match,
Center the camera over the 3 location, Press F8
Center the camera over the 4 location, Press F8
Center the camera over the 5 location, Press F8
Etc,


The script adheres to one action per click and to everyone who screams "what about the off chance I play in a live tournament!" It's not like you couldn't easily go without it for a game or two.

Code -

+ Show Spoiler +




; ##### Copy/Paste Into Notepad - Save As, YourNameHere.AHK #####

n=0
return


F8::
n := n +1

if n=1
send ^3
else

if n=2
send ^4
else

if n=3
send ^5
else

if n=4
send ^6
return

if n=5
send ^7
return

; ^3 = Control+3
; ^4 = Control+4


; Get It? .....

; http://www.autohotkey.com
; http://www.autohotkey.com/docs/KeyList.htm


arbitrageur
Profile Joined December 2010
Australia1202 Posts
July 13 2011 09:40 GMT
#2
This is so helpful, but how do you use this? I'm a computer noob. As in how to install/get it to work?
djengizz
Profile Joined August 2010
Netherlands42 Posts
July 13 2011 09:52 GMT
#3
Since you're combining multiple key presses in one key press in a way that can't be done by rebinding hotkeys isn't this technically illegal?
Nexic
Profile Blog Joined May 2010
United States729 Posts
Last Edited: 2011-07-13 09:59:07
July 13 2011 09:57 GMT
#4
I just use my middle mouse button as an additional control key to reduce stretching/make it easier to bind camera locations, a script/auto-hot key or whatever this is seems unnecessary imo.

personally I use a custom "grid"-like setup except with A = attack move instead of T, and Y/H/N for main/natural/3rd camera locations.
Bojas
Profile Joined December 2010
Netherlands2397 Posts
July 13 2011 10:04 GMT
#5
This might be a very stupid question but aren't macro's like these against the rules?
Intricate1
Profile Joined May 2011
169 Posts
July 13 2011 10:04 GMT
#6
On July 13 2011 18:52 djengizz wrote:
Since you're combining multiple key presses in one key press in a way that can't be done by rebinding hotkeys isn't this technically illegal?


Combining multiple keys into a single key press Is not illegal, Left clicking on a unit, Control+Left Clicking on a unit and Control+Shift+Left Clicking on a unit are all considered 1 action.

Rebinding the "J" Key to Control+Shift+Left Click is legal for example

Phayze
Profile Blog Joined June 2009
Canada2029 Posts
Last Edited: 2011-07-13 10:12:21
July 13 2011 10:09 GMT
#7
Plus, afaik there is really no way for blizzard to detect macro's, there would be so many keypresses and delays it would have to sift through to detect patterns, i dont feel it would be logical to invest time to detecting things like that. To add, keyboards with macro functionality are ---so--- freaking common nowadays that you will probably NEVER see anyone ever punished for using it. Tournaments however are a different story. I personally rebound the camera keys to the macro keys on my blackwidow, just remapped f5 to f8. I know a friend who set control and shift to mouse4 and 5 on his Xai to lessen the use of his pinky (weaker finger, makes sense)
Proud member of the LGA-1366 Core-i7 4Ghz Club
arbitrageur
Profile Joined December 2010
Australia1202 Posts
Last Edited: 2011-07-13 10:12:58
July 13 2011 10:12 GMT
#8

Rebinding the "J" Key to Control+Shift+Left Click is legal for example


Then why was there such anger on TL over the steelseries attempt at marketing keyboard macros to sc2 players if it's legal to bind multiple keys to 1 press????

Then in homestory all commentators were saying it is illegal in sc2.
Nexic
Profile Blog Joined May 2010
United States729 Posts
Last Edited: 2011-07-13 10:20:56
July 13 2011 10:19 GMT
#9
Combining multiple key presses into a single key press is the exact definition of what blizz has said is "illegal"/against the rules.
vyyye
Profile Joined July 2010
Sweden3917 Posts
July 13 2011 10:20 GMT
#10
On July 13 2011 19:04 Intricate1 wrote:
Show nested quote +
On July 13 2011 18:52 djengizz wrote:
Since you're combining multiple key presses in one key press in a way that can't be done by rebinding hotkeys isn't this technically illegal?


Combining multiple keys into a single key press Is not illegal, Left clicking on a unit, Control+Left Clicking on a unit and Control+Shift+Left Clicking on a unit are all considered 1 action.

Rebinding the "J" Key to Control+Shift+Left Click is legal for example


Anything that would require you to press more than one button made to only require one button is illegal in SC2.
djengizz
Profile Joined August 2010
Netherlands42 Posts
July 13 2011 10:24 GMT
#11
On July 13 2011 19:04 Intricate1 wrote:
Combining multiple keys into a single key press Is not illegal, Left clicking on a unit, Control+Left Clicking on a unit and Control+Shift+Left Clicking on a unit are all considered 1 action.

Rebinding the "J" Key to Control+Shift+Left Click is legal for example


Do you have a source for that?

From what i gather from the end user license agreement you're not allowed to use third party tools to alter the game experience in any way.

There are also reports of people getting banned using keyboard macros and Blizzard reps stating macros are not allowed.

Combining multiple key presses into one is the definition of a macro and is not allowed using third party tools (it's only allowed if you can do it by rebinding the hotkeys within the game client and there the options are very limited).
Intricate1
Profile Joined May 2011
169 Posts
July 13 2011 10:27 GMT
#12
On July 13 2011 19:19 Nexic wrote:
Combining multiple key presses into a single key press is the exact definition of 'macros' blizz calls against the rules, just for reference.



This is 100% wrong,

Lets put this to bed right now - The rule is 1 Action Per Click

Go Into The Starcraft Hotkey Editor, Boot It up and go to Idle Worker, Click Set Alternative Hotkey and


Press Control+Shift+Alt+K

This is an example of multiple keys being pressed to create 1 action, that is the rule and as long as only 1 action is performed the hotkey is legal.
djengizz
Profile Joined August 2010
Netherlands42 Posts
July 13 2011 10:52 GMT
#13
On July 13 2011 19:27 Intricate1 wrote:
This is 100% wrong,

Lets put this to bed right now - The rule is 1 Action Per Click

Go Into The Starcraft Hotkey Editor, Boot It up and go to Idle Worker, Click Set Alternative Hotkey and


Press Control+Shift+Alt+K

This is an example of multiple keys being pressed to create 1 action, that is the rule and as long as only 1 action is performed the hotkey is legal.

The difference is that you are using third party software to do this remapping and as stated using third party software to change the game experience in any way is illegal.

Also if i understand your script right you're using one keypress (F8) to assign multiple control groups / camera hotkeys based on how often it's pressed. This is functionality that doesn't even exist in the game client and therefore changes the game experience.
Intricate1
Profile Joined May 2011
169 Posts
July 13 2011 11:24 GMT
#14
On July 13 2011 19:52 djengizz wrote:
Show nested quote +
On July 13 2011 19:27 Intricate1 wrote:
This is 100% wrong,

Lets put this to bed right now - The rule is 1 Action Per Click

Go Into The Starcraft Hotkey Editor, Boot It up and go to Idle Worker, Click Set Alternative Hotkey and


Press Control+Shift+Alt+K

This is an example of multiple keys being pressed to create 1 action, that is the rule and as long as only 1 action is performed the hotkey is legal.

The difference is that you are using third party software to do this remapping and as stated using third party software to change the game experience in any way is illegal.

Also if i understand your script right you're using one keypress (F8) to assign multiple control groups / camera hotkeys based on how often it's pressed. This is functionality that doesn't even exist in the game client and therefore changes the game experience.



http://store.razerzone.com/store/razerusa/en_US/pd/productID.199817100/parentCategoryID.43736600/categoryId.43736700

This is the Razer Marauder StarCraft II, officially licensed gaming keyboard. It Offers On-The-Fly Macro recording, Ill admit Im playing it pretty close to the vest here but I dont think you could argue there is any difference, between the two.

And Finnally and way more importantly

You are Wrong, Each time F8 is pressed the result is ALWAYS a single key on the NumPad.

1st Time - Numpad1
2nd Time - Numpad2
3rd Time - Numpad3

But how is this any different then any Keyboard/Mouse with drivers allowing for remapped keys?
djengizz
Profile Joined August 2010
Netherlands42 Posts
Last Edited: 2011-07-13 11:49:04
July 13 2011 11:43 GMT
#15
On July 13 2011 20:24 Intricate1 wrote:
This is the Razer Marauder StarCraft II, officially licensed gaming keyboard. It Offers On-The-Fly Macro recording, Ill admit Im playing it pretty close to the vest here but I dont think you could argue there is any difference, between the two.

The keyboard is licensed by Blizzard which basically means they are allowed to put some Starcraft stickers on it.
Also a keyboard with macro capabilities is not illegal, just using that functionality within a game of Starcraft is. So using the "officially licensed Razer Marauder StarCraft II" to fire macros when playing Starcraft is also illegal.

You are Wrong, Each time F8 is pressed the result is ALWAYS a single key on the NumPad.

Yes, but you just introduced hotkeys that react differently based on the number of times they are pressed. Again this is functionality that doesn't exists in the game client and you use a third party program to achieve this.
Quadans
Profile Joined June 2011
Germany24 Posts
July 13 2011 11:55 GMT
#16
ehm, im the only know who knows that u can do that same thing in the hotkeys menu?
He Kickd ma brotha in da ass
arbitrageur
Profile Joined December 2010
Australia1202 Posts
July 13 2011 11:57 GMT
#17
No1 has answered how to get this guys config to work. Where do i cut & paste it?
Mordoc
Profile Joined April 2011
United States162 Posts
July 13 2011 12:06 GMT
#18
This is so helpful, but how do you use this? I'm a computer noob. As in how to install/get it to work?


http://www.autohotkey.com/

Download this.

Paste the OPs code into a normal .txt file.

Save it, then run the .txt file as a .ahk file.

A green H should show up in your taskbar (indicates its working).
arbitrageur
Profile Joined December 2010
Australia1202 Posts
July 13 2011 12:21 GMT
#19
Thanks! Is there risk of ban? If not I'll def use it@!
Please log in or register to reply.
Live Events Refresh
OSC
14:00
King of the Hill #234
SteadfastSC29
iHatsuTV 5
Liquipedia
WardiTV 2025
11:00
Playoffs
Clem vs CreatorLIVE!
Scarlett vs Spirit
ShoWTimE vs Cure
WardiTV1632
ComeBackTV 1378
TaKeTV 412
IndyStarCraft 205
Rex114
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko366
IndyStarCraft 205
Harstem 193
Rex 114
ProTech41
SteadfastSC 29
StarCraft: Brood War
Britney 32017
Calm 4987
GuemChi 2388
Rain 2199
Bisu 2119
Stork 847
Horang2 804
actioN 569
Shuttle 438
Larva 298
[ Show more ]
firebathero 266
Mini 233
ggaemo 176
hero 172
Mind 168
Killer 149
Hyun 92
Aegong 90
Barracks 86
Zeus 74
JYJ 66
Snow 64
Bale 50
ToSsGirL 48
Shinee 46
soO 31
zelot 22
Mong 22
910 20
sorry 18
ajuk12(nOOB) 14
Sacsri 14
JulyZerg 13
Terrorterran 13
GoRush 13
Yoon 12
scan(afreeca) 11
Shine 8
SilentControl 5
Dota 2
Gorgc4654
singsing3361
qojqva1541
XcaliburYe133
LuMiX1
League of Legends
C9.Mang0356
Counter-Strike
allub270
oskar110
Other Games
B2W.Neo1553
hiko449
crisheroes418
Fuzer 282
XaKoH 154
djWHEAT41
Trikslyr24
Organizations
StarCraft: Brood War
lovetv 10
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis1164
Upcoming Events
Big Brain Bouts
2h 29m
YoungYakov vs Jumy
TriGGeR vs Spirit
The PiG Daily
6h 29m
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
CranKy Ducklings
19h 29m
WardiTV 2025
20h 29m
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
21h 59m
Ladder Legends
1d 4h
BSL 21
1d 5h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 19h
Ladder Legends
2 days
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
[ Show More ]
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
3 days
WardiTV Invitational
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
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

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.