-
Notifications
You must be signed in to change notification settings - Fork 0
/
SuperClicker.ahk
64 lines (56 loc) · 1.4 KB
/
SuperClicker.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
; AHK VERSION: Lexikos 1.1.22.06 Unicode 32-bit
; AUTHOR: William Quinn (wquinn@outlook.com)
; TITLE: SuperClicker
; UUID: cbd25b6a-697d-11e5-9d70-feff819cdc9f
#Include ahk\var.ahk ; Defines all variables.
#Include ahk\install.ahk ; Installs all files.
Legend:
{ Gui,Legend:Color,%BGColor%
Gui,Legend:Font,CWhite S16 Q5,Calibri Light
Gui,Legend:Add,Text,X8 Y8,SuperClicker
Gui,Legend:Font,,
Gui,Legend:Font,CWhite S8 Q5,Segoe UI
Gui,Legend:Add,Text,X150 Y5,SHIFT+H shows and hides the legend.
Gui,Legend:Add,Text,X150 Y17,SHIFT+Q quits SuperClicker.
Gui,Legend:Add,Text,X150 Y29,BACKSPACE stops all clicker macros.
Gui,Legend:Add,Text,X150 Y41,SHIFT+BACKSPACE reloads the script.
Gui,Legend:Add,Text,X8 Y32,%Version%
Gui,Legend:Show,X%PosX% Y%PosY% W384 H32,SuperClicker Legend
Gui,Legend:+AlwaysOnTop -Caption +LastFound +ToolWindow
WinSet,Transparent,192,SuperClicker Legend
}
#Include ahk\hotkey_guis.ahk
+H::
{ If GUIHidden=0
{ GUIHidden=1
Gui,Legend:Hide
Gui,SC:Hide
Gui,SX:Hide
Return
}
Else
{ GUIHidden=0
Gui,Legend:Restore
Gui,SC:Restore
Gui,SX:Restore
Return
}
}
#Include ahk\sc.ahk
#Include ahk\sx.ahk
BACKSPACE::
{ SHIFT_C := False
Gui,SC:Color,%BGColor%
WinSet,Transparent,128,SC
SHIFT_X := False
Gui,SX:Color,%BGColor%
WinSet,Transparent,128,SX
Return
}
+BACKSPACE::Reload
LegendGuiClose:
+Q::
!F4::
{ FileRemoveDir,%Install%,1
ExitApp
}