-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAHT v2.9.11.ahk
3551 lines (3170 loc) · 78.1 KB
/
AHT v2.9.11.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT/XP/Vista/7/10
; Author: AucT <[email protected]>
; Code helper: yayuhhz (thanks to him there is window mode)
; Main Tester: DenSiL7
; Web-Site: https://aht.auct.eu
;********************************************FORCE TO RUN AS ADMIN*************************
RegRead, UAC, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, EnableLUA
if !A_IsAdmin
{
Log("Not running as admin. Restarting as admin")
if A_IsCompiled
DllCall("shell32\ShellExecuteA","uint",0,"str","RunAs","str",A_ScriptFullPath,"uint",0,"str",A_WorkingDir,"int",1)
else
DllCall("shell32\ShellExecuteA","uint",0,"str","RunAs","str",A_AhkPath,"str","""" . A_ScriptFullPath . """","str",A_WorkingDir,"int",1)
ExitApp
}
DebugPrivilegesEnable()
FileInstall, images\all.gif, %A_temp%\all.gif
FileInstall, images\blue.gif, %A_temp%\blue.gif
FileInstall, images\pink.gif, %A_temp%\pink.gif
FileInstall, images\AutoCast.jpg, %A_temp%\AutoCast.jpg
FileInstall, images\Inventory.jpg, %A_temp%\Inventory.jpg
FileInstall, images\Skills.jpg, %A_temp%\Skills.jpg
GroupAdd, WC3DOTA , Warcraft III
GroupAdd, WC3DOTA , DOTA 2
GroupAdd, WC3DOTA , Dota 2
;********************************************INITIAL SCRIPT SETTINGS*************************
#UseHook on ;forces to use it at start and not in game
#SingleInstance force ;makes sure second execution of the tool will stop teh first
#HotkeyInterval 0
#NoEnv
#InstallKeybdHook ;Forces the unconditional installation of the keyboard hook
#UseHook On ;might increase responsiveness of hotkeys
#MaxThreads
Process, priority, , High
SetWorkingDir %A_ScriptDir%
SetBatchLines, -1
SetKeyDelay , -1, -1
SetDefaultMouseSpeed, 0
#ifWinActive, ahk_group WC3DOTA
VK_LIST = VK41,VK42,VK43,VK44,VK45,VK46,VK47,VK48,VK49,VK4A,VK4B,VK4C,VK4D,VK4E,VK4F,VK50,VK51,VK52,VK53,VK54,VK55,VK56,VK57,VK58,VK59,VK5A,VK30,VK31,VK32,VK33,VK34,VK35,VK36,VK37,VK38,VK39,VKC0,VKDB,VKDD,VKBE,VKBF,VKBA,VKDE,VKDC
HK_LIST = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,``,[,],.,/,;,',\
Version=AucT Hotkeys Tool v2.9.11 ;current verison for update
;************************************************PROFILE MANAGEMENT********************************//////////////
IniRead, profile, %A_WorkingDir%\settings.ini, Others, profile, General
if profile=General
profileini=settings.ini
else
profileini=%profile%.ini
;************************************************STYLE COLOR**********************************************
IniRead, stylecolor, %A_WorkingDir%\%profileini%, Others, stylecolor, %A_Space%
if stylecolor {
IniRead, darkstyle, %A_WorkingDir%\%profileini%, Others, darkstyle, 0
Gui, Color, %stylecolor%
Gui, 2:Color, %stylecolor%
Gui, 3:Color, %stylecolor%
Gui, 4:Color, %stylecolor%
Gui, 5:Color, %stylecolor%
if darkstyle {
gui, font, cwhite
gui,2:font, cwhite
gui,3:font, cwhite
gui,4:font, cwhite
gui,5:font, cwhite
}
}
;************************************************TRAY MENU********************************************************
;Menu
Menu, tray, NoStandard
Menu, Tray, Click, 1
Menu, tray, add, Configuration, configuration
Menu, tray, Default, Configuration
Menu, tray, add
Menu, tray, add, Run WarCraft 3, RunWC3
Menu, tray, add
Menu, tray, add, About, About
Menu, tray, add, Check update, UpdateCheck
Menu, tray, add
Menu, tray, add, Reload, ButtonReload
Menu, tray, add
Menu, tray, add, Mouse Capture, SetWMC
Menu, tray, add, Exit
Menu, Tray, Icon, %A_ScriptDir%\%A_ScriptName%,1,1
CoordMode,Mouse,Screen
IniRead, ScrollIndicator, %A_WorkingDir%\%profileini%, Others, ScrollIndicator, 0
if ScrollIndicator
SetScrollLockState, On
else
SetScrollLockState, Off
IniRead, ReloadScr, %A_WorkingDir%\%profileini%,Others, ReloadScr, %A_Space%
if ReloadScr
Hotkey,% VK(ReloadScr), ReloadScript
Hotkey, IfWinActive, ahk_group WC3DOTA
IniRead, WMC, %A_WorkingDir%\%profileini%,Others, WMC, 0
IniRead, WMChotkey, %A_WorkingDir%\%profileini%,Others, WMChotkey, %A_Space%
if WMC
SetTimer,CheckActiveWar3
if WMChotkey
Hotkey,% VK(WMChotkey), SetWMC
;************************************************INVENTORY*************************************
IniRead, EnInventory, %A_WorkingDir%\%profileini%, Inventory, EnInventory, 1
IniRead, h1, %A_WorkingDir%\%profileini%, Inventory, item1, %A_Space%
IniRead, h2, %A_WorkingDir%\%profileini%, Inventory, item2, %A_Space%
IniRead, h3, %A_WorkingDir%\%profileini%, Inventory, item3, %A_Space%
IniRead, h4, %A_WorkingDir%\%profileini%, Inventory, item4, %A_Space%
IniRead, h5, %A_WorkingDir%\%profileini%, Inventory, item5, %A_Space%
IniRead, h6, %A_WorkingDir%\%profileini%, Inventory, item6, %A_Space%
if %EnInventory%
{
i1:=VK(h1)
i2:=VK(h2)
i3:=VK(h3)
i4:=VK(h4)
i5:=VK(h5)
i6:=VK(h6)
if i1 {
Hotkey,%i1%, i1
Hotkey,+%i1%, i1
}
if i2 {
Hotkey,%i2%, i2
Hotkey,+%i2%, i2
}
if i3 {
Hotkey,%i3%, i3
Hotkey,+%i3%, i3
}
if i4 {
Hotkey,%i4%, i4
Hotkey,+%i4%, i4
}
if i5 {
Hotkey,%i5%, i5
Hotkey,+%i5%, i5
}
if i6 {
Hotkey,%i6%, i6
Hotkey,+%i6%, i6
}
}
;************************************************CUSTOMKEYS**********************************************
IniRead, NewWarCraft, %A_WorkingDir%\%profileini%, CustomKeys, NewWarCraft, 0
RelativeCoordinatesXS1 := .79
RelativeCoordinatesXS2 := .84
RelativeCoordinatesXS3 := .9
RelativeCoordinatesXS4 := .9595
RelativeCoordinatesXScoreboard := .984
RelativeCoordinatesXSharecontrol := .6
RelativeCoordinatesCheckChatX := 0.738
RelativeCoordinatesCheckChatY := 0.019
IniRead, NewRelativeCoordinatesXS1, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXS1, 0.72
IniRead, NewRelativeCoordinatesXS2, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXS2, 0.763
IniRead, NewRelativeCoordinatesXS3, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXS3, 0.804
IniRead, NewRelativeCoordinatesXS4, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXS4, 0.844
IniRead, NewRelativeCoordinatesXSharecontrol, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXSharecontrol, 0.575
IniRead, NewRelativeCoordinatesXScoreboard, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesXScoreboard, 0.864
IniRead, NewRelativeCoordinatesCheckChatX, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesCheckChatX, 0.665
IniRead, NewRelativeCoordinatesCheckChatY, %A_WorkingDir%\%profileini%, CustomKeys, NewRelativeCoordinatesCheckChatY, 0.019
IniRead, DelayAfterClickSkill, %A_WorkingDir%\%profileini%, CustomKeys, DelayAfterClickSkill, 50
IniRead, DelayQuickCast, %A_WorkingDir%\%profileini%, CustomKeys, DelayQuickCast, 50
IniWrite, %DelayAfterClickSkill%, %A_WorkingDir%\settings.ini, CustomKeys, DelayAfterClickSkill
IniWrite, %DelayQuickCast%, %A_WorkingDir%\settings.ini, CustomKeys, DelayQuickCast
if %NewWarCraft%
{
RelativeCoordinatesXS1 := NewRelativeCoordinatesXS1
RelativeCoordinatesXS2 := NewRelativeCoordinatesXS2
RelativeCoordinatesXS3 := NewRelativeCoordinatesXS3
RelativeCoordinatesXS4 := NewRelativeCoordinatesXS4
RelativeCoordinatesXScoreboard := NewRelativeCoordinatesXScoreboard
RelativeCoordinatesXSharecontrol := NewRelativeCoordinatesXSharecontrol
RelativeCoordinatesCheckChatX := NewRelativeCoordinatesCheckChatX
RelativeCoordinatesCheckChatY := NewRelativeCoordinatesCheckChatY
}
IniRead, EnSkills, %A_WorkingDir%\%profileini%, CustomKeys, EnSkills, 0
IniRead, SmartSkills, %A_WorkingDir%\%profileini%, CustomKeys, SmartSkills, 0
IniRead, QuickCast, %A_WorkingDir%\%profileini%, CustomKeys, QuickCast, 0
IniRead, SelfCast, %A_WorkingDir%\%profileini%, CustomKeys, SelfCast, 0
IniRead, skill1, %A_WorkingDir%\%profileini%, CustomKeys, skill1, Q
IniRead, skill2, %A_WorkingDir%\%profileini%, CustomKeys, skill2, W
IniRead, skill3, %A_WorkingDir%\%profileini%, CustomKeys, skill3, E
IniRead, skill4, %A_WorkingDir%\%profileini%, CustomKeys, skill4, R
IniRead, skill5, %A_WorkingDir%\%profileini%, CustomKeys, skill5, %A_Space%
IniRead, skill6, %A_WorkingDir%\%profileini%, CustomKeys, skill6, D
IniRead, skill7, %A_WorkingDir%\%profileini%, CustomKeys, skill7, F
IniRead, skill8, %A_WorkingDir%\%profileini%, CustomKeys, skill8, %A_Space%
IniRead, skill9, %A_WorkingDir%\%profileini%, CustomKeys, skill9, %A_Space%
IniRead, skill10, %A_WorkingDir%\%profileini%, CustomKeys, skill10, %A_Space%
IniRead, skill11, %A_WorkingDir%\%profileini%, CustomKeys, skill11, %A_Space%
IniRead, skill12, %A_WorkingDir%\%profileini%, CustomKeys, skill12, %A_Space%
s1:=VK(skill1)
s2:=VK(skill2)
s3:=VK(skill3)
s4:=VK(skill4)
s5:=VK(skill5)
s6:=VK(skill6)
s7:=VK(skill7)
s8:=VK(skill8)
s9:=VK(skill9)
s10:=VK(skill10)
s11:=VK(skill11)
s12:=VK(skill12)
if %EnSkills%
{
if (!Selfcast and !SmartSkills) {
if %skill1%
Hotkey,%s1%, LC1L
Hotkey,+%s1%, LC1L
if %skill2%
Hotkey,%s2%, LC2L
Hotkey,+%s2%, LC2L
if %skill3%
Hotkey,%s3%, LC3L
Hotkey,+%s3%, LC3L
if %skill4%
Hotkey,%s4%, LC4L
Hotkey,+%s4%, LC4L
if %skill5%
Hotkey,%s5%, LC5L
Hotkey,+%s5%, LC5L
if %skill6%
Hotkey,%s6%, LC6L
Hotkey,+%s6%, LC6L
if %skill7%
Hotkey,%s7%, LC7L
Hotkey,+%s7%, LC7L
if %skill8%
Hotkey,%s8%, LC8L
Hotkey,+%s8%, LC8L
}
else {
if %skill1%
Hotkey,%s1%, LC1
Hotkey,+%s1%, LC1
if %skill2%
Hotkey,%s2%, LC2
Hotkey,+%s2%, LC2
if %skill3%
Hotkey,%s3%, LC3
Hotkey,+%s3%, LC3
if %skill4%
Hotkey,%s4%, LC4
Hotkey,+%s4%, LC4
if %skill5%
Hotkey,%s5%, LC5
Hotkey,+%s5%, LC5
if %skill6%
Hotkey,%s6%, LC6
Hotkey,+%s6%, LC6
if %skill7%
Hotkey,%s7%, LC7
Hotkey,+%s7%, LC7
if %skill8%
Hotkey,%s8%, LC8
Hotkey,+%s8%, LC8
}
if %skill9%
Hotkey,%s9%, LC9
Hotkey,+%s9%, LC9
if %skill10%
Hotkey,%s10%, LC10
Hotkey,+%s10%, LC10
if %skill11%
Hotkey,%s11%, LC11
Hotkey,+%s11%, LC11
if %skill12%
Hotkey,%s12%, LC12
Hotkey,+%s12%, LC12
}
;************************************************AUTO-CASTS*****************************************
IniRead, EnAutoCast, %A_WorkingDir%\%profileini%, Auto-Casts, EnAutoCast, 0
IniRead, DoubleAutoCast, %A_WorkingDir%\%profileini%, Auto-Casts, DoubleAutoCast, 0
IniRead, auto1, %A_WorkingDir%\%profileini%, Auto-Casts, auto1, !E
IniRead, auto2, %A_WorkingDir%\%profileini%, Auto-Casts, auto2, !R
IniRead, autoall, %A_WorkingDir%\%profileini%, Auto-Casts, autoALL, !F
if %EnAutoCast%
{
if DoubleAutoCast
{
a1:=VK(auto1)
a2:=VK(auto2)
aa:=VK(autoall)
if %auto1%
Hotkey,~%a1%, DAC1
if %auto2%
Hotkey,~%a2%, DAC2
if %autoall%
Hotkey,~%aa%, DACa
}
else
{
if %auto1%
if UAC
Hotkey,% VK(auto1), AC1UAC
else
Hotkey,% VK(auto1), AC1
if %auto2%
if UAC
Hotkey,% VK(auto2), AC2UAC
else
Hotkey,% VK(auto2), AC2
if %autoall%
if UAC
Hotkey,% VK(autoall), ACaUAC
else
Hotkey,% VK(autoall), ACa
}
}
;***************************
;Chat Suspending
IniRead, chat, %A_WorkingDir%\%profileini%, Others, chat, 1
IniRead, AutoDetect, %A_WorkingDir%\%profileini%, Others, AutoDetect, 1
if chat
{
Hotkey,*Enter, SendEnt
Hotkey,*NumpadEnter, SendEnt
Hotkey, ~*Esc, KEYSON
Hotkey, ~LButton, KEYSON
if AutoDetect
SetTimer, checklobby, 400
}
;************************************************MESSAGES***********************************************
loop, 36 {
IniRead, mh%A_Index%, %A_WorkingDir%\%profileini%,Messages, hotkey%A_Index%, %A_Space%
IniRead, mv%A_Index%, %A_WorkingDir%\%profileini%,Messages, message%A_Index%, %A_Space%
if mh%A_Index% {
vmh%A_Index%:=VK(mh%A_Index%)
Hotkey, % vmh%A_Index%, mv%A_Index%
}
}
;************************************************INVOKER*********************************
IniRead, EnInvokerA, %A_WorkingDir%\%profileini%, Invoker, EnInvokerA, 0
IniRead, EnInvokerU, %A_WorkingDir%\%profileini%, Invoker, EnInvokerU, 0
IniRead, EnInvokerD, %A_WorkingDir%\%profileini%, Invoker, EnInvokerD, 0
IniRead, ColdSnapA, %A_WorkingDir%\%profileini%, Invoker, ColdSnapA, !Q
IniRead, GhostWalkA, %A_WorkingDir%\%profileini%, Invoker, GhostWalkA, !V
IniRead, TornadoA, %A_WorkingDir%\%profileini%, Invoker, TornadoA, !X
IniRead, EMPA, %A_WorkingDir%\%profileini%, Invoker, EMPA, !C
IniRead, AlacrityA, %A_WorkingDir%\%profileini%, Invoker, AlacrityA, !Z
IniRead, ChaosMeteorA, %A_WorkingDir%\%profileini%, Invoker, ChaosMeteorA, !D
IniRead, SunStrikeA, %A_WorkingDir%\%profileini%, Invoker, SunStrikeA, !T
IniRead, ForgeSpiritA, %A_WorkingDir%\%profileini%, Invoker, ForgeSpiritA, !F
IniRead, IceWallA, %A_WorkingDir%\%profileini%, Invoker, IceWallA, !G
IniRead, BlastA, %A_WorkingDir%\%profileini%, Invoker, BlastA, !B
IniRead, AlacrityAS, %A_WorkingDir%\%profileini%, Invoker, AlacrityAS, %A_Space%
IniRead, AlacrityUS, %A_WorkingDir%\%profileini%, Invoker, AlacrityUS, %A_Space%
IniRead, ColdSnapU, %A_WorkingDir%\%profileini%, Invoker, ColdSnapU, ^Q
IniRead, GhostWalkU, %A_WorkingDir%\%profileini%, Invoker, GhostWalkU, ^V
IniRead, TornadoU, %A_WorkingDir%\%profileini%, Invoker, TornadoU, ^X
IniRead, EMPU, %A_WorkingDir%\%profileini%, Invoker, EMPU, ^C
IniRead, AlacrityU, %A_WorkingDir%\%profileini%, Invoker, AlacrityU, ^Z
IniRead, ChaosMeteorU, %A_WorkingDir%\%profileini%, Invoker, ChaosMeteorU, ^D
IniRead, SunStrikeU, %A_WorkingDir%\%profileini%, Invoker, SunStrikeU, ^T
IniRead, ForgeSpiritU, %A_WorkingDir%\%profileini%, Invoker, ForgeSpiritU, ^F
IniRead, IceWallU, %A_WorkingDir%\%profileini%, Invoker, IceWallU, ^G
IniRead, BlastU, %A_WorkingDir%\%profileini%, Invoker, BlastU, ^B
IniRead, QQQ, %A_WorkingDir%\%profileini%, Invoker, QQQ, %A_Space%
IniRead, WWW, %A_WorkingDir%\%profileini%, Invoker, WWW, %A_Space%
IniRead, EEE, %A_WorkingDir%\%profileini%, Invoker, EEE, %A_Space%
IniRead, il, %A_WorkingDir%\%profileini%, Invoker, il, l
IniRead, Q, %A_WorkingDir%\%profileini%, Invoker, Q, Q
IniRead, W, %A_WorkingDir%\%profileini%, Invoker, W, W
IniRead, E, %A_WorkingDir%\%profileini%, Invoker, E, E
IniRead, R, %A_WorkingDir%\%profileini%, Invoker, R, R
vQ:=VK(Q)
vW:=VK(W)
vE:=VK(E)
vR:=VK(R)
if EnInvokerA
{
if EnInvokerD
{
if %ColdSnapA%
ColdSnapA:=VK(ColdSnapA)
GhostWalkA:=VK(GhostWalkA)
TornadoA:=VK(TornadoA)
AlacrityA:=VK(AlacrityA)
ChaosMeteorA:=VK(ChaosMeteorA)
SunStrikeA:=VK(SunStrikeA)
ForgeSpiritA:=VK(ForgeSpiritA)
IceWallA:=VK(IceWallA)
BlastA:=VK(BlastA)
EMPA:=VK(EMPA)
Hotkey,~%ColdSnapA%, DSnap
if %GhostWalkA%
Hotkey,~%GhostWalkA%, DWalk
if %TornadoA%
Hotkey,~%TornadoA%, DTornado
if %EMPA%
Hotkey,~%EMPA%, DEMP
if %AlacrityA%
Hotkey,~%AlacrityA%, DAlacrity
if %ChaosMeteorA%
Hotkey,~%ChaosMeteorA%, DMeteor
if %SunStrikeA%
Hotkey,~%SunStrikeA%, DStrike
if %ForgeSpiritA%
Hotkey,~%ForgeSpiritA%, DSpirit
if %IceWallA%
Hotkey,~%IceWallA%, DWall
if %BlastA%
Hotkey,~%BlastA%, DBlast
}
else
{
if %ColdSnapA%
Hotkey,% VK(ColdSnapA), Snap
if %GhostWalkA%
Hotkey,% VK(GhostWalkA), Walk
if %TornadoA%
Hotkey,% VK(TornadoA), Tornado
if %EMPA%
Hotkey,% VK(EMPA), EMP
if %AlacrityA%
Hotkey,% VK(AlacrityA), Alacrity
if %ChaosMeteorA%
Hotkey,% VK(ChaosMeteorA), Meteor
if %SunStrikeA%
Hotkey,% VK(SunStrikeA), Strike
if %ForgeSpiritA%
Hotkey,% VK(ForgeSpiritA), Spirit
if %IceWallA%
Hotkey,% VK(IceWallA), Wall
if %BlastA%
Hotkey,% VK(BlastA), Blast
}
}
if EnInvokerU
{
if EnInvokerD
{
ColdSnapU:=VK(ColdSnapU)
TornadoU:=VK(TornadoU)
EMPU:=VK(EMPU)
AlacrityU:=VK(AlacrityU)
SunStrikeU:=VK(SunStrikeU)
ChaosMeteorU:=VK(ChaosMeteorU)
ForgeSpiritU:=VK(ForgeSpiritU)
IceWallU:=VK(IceWallU)
BlastU:=VK(BlastU)
if %ColdSnapU%
Hotkey,~%ColdSnapU%, DSnap2
if %GhostWalkA%
Hotkey,~%GhostWalkU%, DWalk2
if %TornadoU%
Hotkey,~%TornadoU%, DTornado2
if %EMPU%
Hotkey,~%EMPU%, DEMP2
if %AlacrityA%
Hotkey,~%AlacrityU%, DAlacrity2
if %ChaosMeteorU%
Hotkey,~%ChaosMeteorU%, DMeteor2
if %SunStrikeU%
Hotkey,~%SunStrikeU%, DStrike2
if %ForgeSpiritU%
Hotkey,~%ForgeSpiritU%, DSpirit2
if %IceWallU%
Hotkey,~%IceWallU%, DWall2
if %BlastU%
Hotkey,~%BlastU%, DBlast2
}
else
{
if %ColdSnapU%
Hotkey,% VK(ColdSnapU), Snap2
if %GhostWalkA%
Hotkey,% VK(GhostWalkU), Walk2
if %TornadoU%
Hotkey,% VK(TornadoU), Tornado2
if %EMPU%
Hotkey,% VK(EMPU), EMP2
if %AlacrityA%
Hotkey,% VK(AlacrityU), Alacrity2
if %ChaosMeteorU%
Hotkey,% VK(ChaosMeteorU), Meteor2
if %SunStrikeU%
Hotkey,% VK(SunStrikeU), Strike2
if %ForgeSpiritU%
Hotkey,% VK(ForgeSpiritU), Spirit2
if %IceWallU%
Hotkey,% VK(IceWallU), Wall2
if %BlastU%
Hotkey,% VK(BlastU), Blast2
}
}
if EnInvokerA or EnInvokerU
{
if %QQQ%
Hotkey,% VK(QQQ), gQQQ
if %WWW%
Hotkey,% VK(WWW), gWWW
if %EEE%
Hotkey,% VK(EEE), gEEE
if %il%
Hotkey,% VK(il), gilist
if EnInvokerD
{
AlacrityAS:=VK(AlacrityAS)
AlacrityUS:=VK(AlacrityUS)
if %AlacrityAS%
Hotkey,~%AlacrityAS%, DAlacrity3
if %AlacrityUS%
Hotkey,~%AlacrityUS%, DAlacrity4
}
else
{
if %AlacrityAS%
Hotkey,% VK(AlacrityAS), Alacrity3
if %AlacrityUS%
Hotkey,% VK(AlacrityUS), Alacrity4
}
}
;************************************************OTHER*********************************
IniRead, sound, %A_WorkingDir%\%profileini%, Others, sound, 0
IniRead, Shield, %A_WorkingDir%\%profileini%, Others, Shield, 0
IniRead, ShieldR, %A_WorkingDir%\%profileini%, Others, ShieldR, 0
if Shield
Hotkey, LWin, disable
if ShieldR
Hotkey, RWin, disable
IniRead, UpdateAtStart, %A_WorkingDir%\%profileini%, Others, UpdateAtStart, 0
IniRead, RunAtStart, %A_WorkingDir%\%profileini%, Others, RunAtStart, 0
if RunAtStart
FileCreateShortcut , %A_ScriptDir%\%A_ScriptName%, %A_Startup%\AHT.lnk
else{
IfExist %A_Startup%\AHT.lnk
FileDelete, %A_Startup%\AHT.lnk
}
IniRead, Scoreboard, %A_WorkingDir%\%profileini%,Others, Scoreboard, ``
if Scoreboard
if UAC
Hotkey,% VK(Scoreboard), SBUAC
else
Hotkey,% VK(Scoreboard), SB
IniRead, share, %A_WorkingDir%\%profileini%,Others, share, F6
if %share%
Hotkey,% VK(share), ShareControl
IniRead, ignore, %A_WorkingDir%\%profileini%,Others, ignore, ^S
if %ignore%
Hotkey,% VK(ignore), gIgnore
IniRead, Garena, %A_WorkingDir%\%profileini%,Others, Garena, !J
Hotkey, IfWinActive, Garena
if %Garena%
Hotkey,% VK(Garena), GarenaJoiner
Hotkey, IfWinActive, ahk_group WC3DOTA
IniRead, Time, %A_WorkingDir%\%profileini%,Others, time, %A_Space%
if %Time%
Hotkey,% VK(Time), TimeNow
IniRead, toggle, %A_WorkingDir%\%profileini%,Others, toggle, Home
if %toggle%
Hotkey,% VK(toggle), Switch
IniRead, pause, %A_WorkingDir%\%profileini%,Others, pause, !P
if %pause%
Hotkey,% VK(pause), PauseGame
IniRead, Roshan, %A_WorkingDir%\%profileini%,Others, Roshan, %A_Space%
if %Roshan%
Hotkey,% VK(Roshan), Rosh
IniRead, hero, %A_WorkingDir%\%profileini%,Others, hero, %A_Space%
if %hero%
Hotkey,% VK(hero), GetHero
;HPBar
IniRead,AHP, %A_WorkingDir%\%profileini%,Others, AHP, ![
IniRead,EHP, %A_WorkingDir%\%profileini%,Others, EHP, !]
;IniRead,AHPS, %A_WorkingDir%\%profileini%,Others, AHPS, 0
;IniRead,EHPS, %A_WorkingDir%\%profileini%,Others, EHPS, 0
if %AHP%
Hotkey,% VK(AHP), ShowAHP
if %EHP%
Hotkey,% VK(EHP), ShowEHP
;if AHPS
;SetTimer, AHPST, 1000
;if EHPS
;SetTimer, EHPST, 1000
IniRead, prog1, %A_WorkingDir%\%profileini%, Others, prog1, %A_Space%
IniRead, runprog1s, %A_WorkingDir%\%profileini%, Others, runprog1s, 0
IniRead, prog2, %A_WorkingDir%\%profileini%, Others, prog2, %A_Space%
IniRead, runprog2s, %A_WorkingDir%\%profileini%, Others, runprog2s, 0
IniRead, prog3, %A_WorkingDir%\%profileini%, Others, prog3, %A_Space%
IniRead, runprog3s, %A_WorkingDir%\%profileini%, Others, runprog3s, 0
loop, 35 {
IniRead, krh%A_Index%, %A_WorkingDir%\%profileini%,RemapKey, KRhotkey%A_Index%, %A_Space%
IniRead, krv%A_Index%, %A_WorkingDir%\%profileini%,RemapKey, KRvalue%A_Index%, %A_Space%
if krh%A_Index%
Hotkey,% VK(krh%A_Index%), krv%A_Index%
}
IniRead, DontShowConfigTemp, %A_WorkingDir%\settings.ini,Others, DontShowConfigTemp, 0
IniRead, DontShowConfig, %A_WorkingDir%\settings.ini,Others, DontShowConfig, 0
;==================================================================================
;=====================================GUI==========================================
;==================================================================================
if runprog1s
gosub, runprog1
if runprog2s
gosub, runprog2
if runprog3s
gosub, runprog3
if DontShowConfig or DontShowConfigTemp
{
EmptyMem()
IniWrite, 0, %A_WorkingDir%\settings.ini, Others, DontShowConfigTemp
return
}
configuration:
if ConfigCreated
{
gui, show, autosize center, %Version% - %profile% profile
}
else {
ConfigCreated:=1
Menu, ProfileMenu, Add, &New Profile, ProfileNew
Menu, ProfileMenu, Add
Menu, ProfileMenu, Add, &General, ChooseGeneral
Menu, ProfileMenu, Add
Loop, %A_WorkingDir%\*.ini
{
if A_LoopFileName!=settings.ini
cprofile:= SubStr(A_LoopFileName,1,-4)
Menu, ProfileMenu, Add, %cprofile%, ProfileChoose
}
Menu, Warcraft, Add, Registry Fixer, WarRegFix
Menu, Warcraft, Add, Resolution Changer, ResChange
RegRead, healthbars, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III\Gameplay, healthbars
RegRead, mcustomkeys, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III\Gameplay, customkeys
Menu, Warcraft, Add, Show HealthBars, showhealthbars
if healthbars
menu, warcraft, check, Show HealthBars
else
menu, warcraft, uncheck, Show HealthBars
menu, warcraft, add, Use Customkeys, usecustomkeys
if mcustomkeys
menu, warcraft, check, Use Customkeys
else
menu, warcraft, uncheck, Use Customkeys
RegRead, opengl, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III, Gfx OpenGL
RegRead, fps, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III\Video, lockfb
Menu, Warcraft, Add, OpenGL on, OpenGL
Menu, Warcraft, Add, Improve FPS, ImprFPS
if opengl
menu, warcraft, check, OpenGL on
else
menu, warcraft, uncheck, OpenGL on
if !fps
menu, warcraft, check, Improve FPS
else
menu, warcraft, uncheck, Improve FPS
Menu, Options, Add, Scroll Indicator, SetScrollIndicator
Menu, Options, Add, Sound Indicator, SetSoundIndicator
Menu, Options, Add
Menu, Options, Add, Shield LeftWin, SetShieldLWin
Menu, Options, Add, Shield RightWin, SetShieldRWin
Menu, Options, Add
Menu, Options, Add, Run at start, SetRunatStart
Menu, Options, Add, Update at start, SetUpdateAtStart
Menu, Options, Add
Menu, Options, Add, Mouse Capture, SetWMC
Menu, Chat-Suspend, Add, Chat-free in game, Setchat
Menu, Chat-Suspend, Add, Chat-free in lobby, Setautodetect
Menu, Chat-Suspend, Add, Chat-free Info, ChatFreeInfo
Menu, Submenu1, Add, default, styledefault
Menu, Submenu1, Add
Menu, Submenu1, Add, light purple, stylelpurple
Menu, Submenu1, Add, light blue, stylelblue
Menu, Submenu1, Add, light green, stylelgreen
Menu, Submenu1, Add
Menu, Submenu1, Add, purple, stylepurple
Menu, Submenu1, Add, blue, styleblue
Menu, Submenu1, Add, green, stylegreen
Menu, Submenu1, Add, grey, stylegrey
Menu, Options, Add, Color Style, :Submenu1
if chat
menu, Chat-Suspend, check, Chat-free in game
if AutoDetect
menu, Chat-Suspend, check, Chat-free in lobby
if ScrollIndicator
menu, Options, check, Scroll Indicator
if sound
menu, Options, check, Sound Indicator
if Shield
menu, Options, check, Shield LeftWin
if ShieldR
menu, Options, check, Shield RightWin
if RunAtStart
menu, Options, check, Run at start
if UpdateAtStart
menu, Options, check, Update at start
if WMC {
menu, Options, check, Mouse Capture
menu, tray, check, Mouse Capture
}
Menu, HelpMenu, Add, &Check updates, UpdateCheck
Menu, HelpMenu, Add, &Commands, Commands
Menu, HelpMenu, Add, &About, About
Menu, LinksMenu, Add, How to use, Help
Menu, LinksMenu, Add, Generate CustomKeys.txt, Customkeystxt
Menu, LinksMenu, Add, AucT Blog, auctblog
Menu, LinksMenu, Add, Dota Resources, dotaresources
; Create the menu bar by attaching the sub-menus to it:
Menu, MyMenuBar, Add, Profile, :ProfileMenu
Menu, MyMenuBar, Add, WarCraft, :WarCraft
Menu, MyMenuBar, Add, Options, :Options
Menu, MyMenuBar, Add, Chat-Suspend, :Chat-Suspend
Menu, MyMenuBar, Add, Links, :LinksMenu
Menu, MyMenuBar, Add, Help, :HelpMenu
Gui, Menu, MyMenuBar
Gui, Add, Tab2, x0 y0 w470 h520 , Inventory|Skills|Autocast|Messages|Invoker|Remap|Other
Gui, Tab, Inventory
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420 , Inventory
if darkstyle
gui, font, cwhite
else
gui, font
Gui, Add, Picture, x115 y92 w200 h300 , %A_temp%\Inventory.jpg
Gui, Add, Checkbox, Checked%EnInventory% vEnInventory gSwitchInv x115 y62 , Enable Keys
Gui, Add, button, vb1 gSetItem x120 y150 w85 h30,%h1%
Gui, Add, button, vb2 gSetItem x225 y150 w85 h30,%h2%
Gui, Add, button, vb3 gSetItem x120 y240 w85 h30,%h3%
Gui, Add, button, vb4 gSetItem x225 y240 w85 h30,%h4%
Gui, Add, button, vb5 gSetItem x120 y350 w85 h30,%h5%
Gui, Add, button, vb6 gSetItem x225 y350 w85 h30,%h6%
if EnInventory=0
Gosub, SwitchInv
Gui, Tab, Skills
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420 , Customkeys
if darkstyle
gui, font, cwhite
else
gui, font
Gui, Add, CheckBox,Checked%EnSkills% vEnSkills gEnSkills x36 y70 w150 h30, Enable Custom Keys
Gui, Add, CheckBox,Checked%NewWarCraft% vNewWarCraft gNewWarCraft x36 y45 w150 h30, New WarCraft UI (1.29+)*
Gui, Add, CheckBox,Checked%SmartSkills% vSmartSkills gSmartSkills x186 y45 w150 h30, Smart Learning Skills**
Gui, Add, CheckBox,Checked%QuickCast% vQuickCast gQuickCast x336 y45 w100 h30, Quick Cast***
Gui, Add, CheckBox,Checked%SelfCast% vSelfCast gSelfCast x186 y70 w200 h30, Selfcast on double-click
gui, add, text, cBlue gHelp129 x30 y375 w410,*WarCraft 1.29 skill hotkeys are missing skill position?
gui, add, text, x30 y390 w410,**Smart Learning will click the right (upper) skill when learning skill.
gui, add, text, x30 y405 w410,***Quick Cast will left click on current position after using skill (beta).
gui, add, text, cBlue gCustomkeystxt x30 y425 w410,Consider using Dota CustomKeys.txt Generator as it is faster, for simple dota maps
Gui, Add, Picture, x36 y100 w402 h272 , %A_temp%\Skills.jpg
Gui, Add, Hotkey, vskill9 gskill9 x94 y132 w30 h30 , %skill9%
Gui, Add, Hotkey, vskill10 gskill10 x194 y132 w30 h30 , %skill10%
Gui, Add, Hotkey, vskill11 gskill11 x294 y132 w30 h30 , %skill11%
Gui, Add, Hotkey, vskill12 gskill12 x394 y132 w30 h30 , %skill12%
Gui, Add, Hotkey, vskill8 gskill8 x394 y222 w30 h30 , %skill8%
Gui, Add, Hotkey, vskill7 gskill7 x294 y222 w30 h30 , %skill7%
Gui, Add, Hotkey, vskill6 gskill6 x194 y222 w30 h30 , %skill6%
Gui, Add, Hotkey, vskill5 gskill5 x94 y222 w30 h30 , %skill5%
Gui, Add, Hotkey, vskill1 gskill1 x94 y312 w30 h30 , %skill1%
Gui, Add, Hotkey, vskill2 gskill2 x194 y312 w30 h30 , %skill2%
Gui, Add, Hotkey, vskill3 gskill3 x294 y312 w30 h30 , %skill3%
Gui, Add, Hotkey, vskill4 gskill4 x394 y312 w30 h30 , %skill4%
Gui, Tab, Autocast
Gui, Add, Picture, x36 y92 w402 h272 , %A_temp%\AutoCast.jpg
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420 , Autocast
if darkstyle
gui, font, cwhite
else
gui, font
Gui, Add, CheckBox,Checked%EnAutoCast% vEnAutoCast gEnAutoCast x36 y62 w200 h30 , Enable AutoCast Keys
Gui, Add, CheckBox,Checked%DoubleAutoCast% vDoubleAutoCast gDoubleAutoCast x236 y62 w200 h30 ,Autocast on double click*
gui, add, text, x30 y370 w410,*If double click is checked the autocast key isn't blocked
Gui, Add, Picture, x36 y392 w30 h30 , %A_temp%\blue.gif
Gui, Add, Picture, x170 y392 w30 h30 , %A_temp%\pink.gif
Gui, Add, Picture, x314 y392 w30 h30 , %A_temp%\all.gif
Gui, Add, Hotkey, vauto1 gauto1 x76 y392 w80 h30 , %auto1%
Gui, Add, Hotkey, vauto2 gauto2 x215 y392 w80 h30 , %auto2%
Gui, Add, Hotkey, vautoall gautoall x354 y392 w80 h30 , %autoall%
Gui, Tab, Messages
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420,Messages
mesinfo =
(
To make random message add "|" after each. For example:
GJ|GREAT|nice1|I love u
)
if darkstyle
gui, font, cwhite
else
gui, font
gui, add, text, x30 y390 w410,%mesinfo%
gui, add, checkbox, x380 y55 w70 h30 vtoAll, To All?
gui, font
gui, add, hotkey,vHotkeyChoose_Mes x30 y55 w100 h30,
gui, add, button, gAddMes x140 y55 w110 h30, ADD
gui, add, button, gDeleteMes x260 y55 w110 h30, DELETE
Gui, Add, ListBox, x30 y90 w100 h295 vMes_Key gMes_MesUpdate
gui, add, edit, x140 y90 w300 h290 vMesEdit,
gosub, Mes_KeyUpdate
Gui, Tab, Invoker
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420 , Invoker
if darkstyle
gui, font, cwhite
else
gui, font
gui, add, text, x30 y48, *Put customkeys in bottom right fields. only Add Spell will work with customkeys.
gui, add, Checkbox, Checked%EnInvokerA% vEnInvokerA gEnInvokerA x120 y68, Add Spell
gui, add, checkbox, Checked%EnInvokerU% vEnInvokerU gEnInvokerU x220 y68, Use Spell
gui, add, checkbox, Checked%EnInvokerD% vEnInvokerD gEnInvokerD x320 y68, Double Click
gui, add, text, x30 y90, Cold Snap
gui, add, text, x30 y125, Ghost Walk
gui, add, text, x30 y160, Tornado
gui, add, text, x30 y195, EMP
gui, add, text, x30 y230, Alacrity
gui, add, text, x30 y265, Chaos Meteor
gui, add, text, x30 y300, Sun Strike
gui, add, text, x30 y335, Forge Spirit
gui, add, text, x30 y370, Ice Wall
gui, add, text, x30 y405, Blast
gui, add, text, x320 y90, QQQ
gui, add, text, x320 y125, WWW
gui, add, text, x320 y160, EEE
gui, add, text, x320 y195, -il
gui, add, text, x320 y230, Self-Cast Z:
gui, add, text, x320 y275, Invoke + Self-Cast Z:
gui, add, hotkey,vQQQ gQQQ x360 y90 w80, %QQQ%
gui, add, hotkey,vWWW gWWW x360 y125 w80, %WWW%
gui, add, hotkey,vEEE gEEE x360 y160 w80, %EEE%
gui, add, hotkey,vil gil x360 y195 w80, %il%
gui, add, hotkey,vAlacrityAS gAlacrityAS x320 y250 w120, %AlacrityAS%
gui, add, hotkey,vAlacrityUS gAlacrityUS x320 y290 w120, %AlacrityUS%
gui, add, text, x320 y320, Your Customkeys*:
gui, add, text, x320 y340, Quas
gui, add, hotkey,vQ gQ x355 y340 w80, %Q%
gui, add, text, x320 y360, Wex
gui, add, hotkey,vW gW x355 y360 w80, %W%
gui, add, text, x320 y380, Exort
gui, add, hotkey,vE gE x355 y380 w80, %E%
gui, add, text, x320 y400, Invoke
gui, add, hotkey,vR gR x355 y400 w80, %R%
gui, add, hotkey,vColdSnapA gColdSnapA x120 y90 w80, %ColdSnapA%
gui, add, hotkey,vColdSnapU gColdSnapU x220 y90 w80, %ColdSnapU%
gui, add, hotkey,vGhostWalkA gGhostWalkA x120 y125 w80, %GhostWalkA%
gui, add, hotkey,vGhostWalkU gGhostWalkU x220 y125 w80, %GhostWalkU%
gui, add, hotkey,vTornadoA gTornadoA x120 y160 w80, %TornadoA%
gui, add, hotkey,vTornadoU gTornadoU x220 y160 w80, %TornadoU%
gui, add, hotkey,vEMPA gEMPA x120 y195 w80, %EMPA%
gui, add, hotkey,vEMPU gEMPU x220 y195 w80, %EMPU%
gui, add, hotkey,vAlacrityA gAlacrityA x120 y230 w80, %AlacrityA%
gui, add, hotkey,vAlacrityU gAlacrityU x220 y230 w80, %AlacrityU%
gui, add, hotkey,vChaosMeteorA gChaosMeteorA x120 y265 w80, %ChaosMeteorA%
gui, add, hotkey,vChaosMeteorU gChaosMeteorU x220 y265 w80, %ChaosMeteorU%
gui, add, hotkey,vSunStrikeA gSunStrikeA x120 y300 w80, %SunStrikeA%
gui, add, hotkey,vSunStrikeU gSunStrikeU x220 y300 w80, %SunStrikeU%
gui, add, hotkey,vForgeSpiritA gForgeSpiritA x120 y335 w80, %ForgeSpiritA%
gui, add, hotkey,vForgeSpiritU gForgeSpiritU x220 y335 w80, %ForgeSpiritU%
gui, add, hotkey,vIceWallA gIceWallA x120 y370 w80, %IceWallA%
gui, add, hotkey,vIceWallU gIceWallU x220 y370 w80, %IceWallU%
gui, add, hotkey,vBlastA gBlastA x120 y405 w80, %BlastA%
gui, add, hotkey,vBlastU gBlastU x220 y405 w80, %BlastU%
Gui, Tab, Remap
gui, font
gui, font, s14
Gui, Add, ListBox, x30 y90 w400 h342 vRemap_Key gRemap_Update
gui, font
if darkstyle
gui, font, cwhite
else
gui, font, cblue
Gui, Add, GroupBox, x6 y32 w450 h420,Key Remap
if darkstyle
gui, font, cwhite
else
gui, font
gui, add, hotkey,vHK_Remap x30 y55 w80 h30,
gui, add, hotkey,vValue_Remap x120 y55 w80 h30,
gui, add, button, gAddRemap x210 y55 w110 h30, ADD
gui, add, button, gDeleteRemap x330 y55 w110 h30, DELETE
gosub, Remap_KeyUpdate
Gui, Tab, Other
if darkstyle
gui, font, cwhite