-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.ahk
More file actions
61 lines (53 loc) · 937 Bytes
/
test.ahk
File metadata and controls
61 lines (53 loc) · 937 Bytes
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
#Requires AutoHotkey v2.0
#SingleInstance Force
CoordMode("Mouse")
SetDefaultMouseSpeed(0)
TraySetIcon(A_ScriptDir "\icon\ahkblue16.ico")
if (!A_IsAdmin) {
try {
Run("*RunAs `"" A_ScriptFullPath "`"")
}
catch {
MsgBox("Couldn't run " A_ScriptName " as admin! Some things may not work")
}
}
#b:: {
SendText(FormatTime(, "ShortDate") . "AM -")
}
; reload the script when its saved
#HotIf WinActive(A_ScriptName " ahk_exe Code.exe")
~^s::
{
; Send("^s")
ToolTip("Reloading " A_ScriptName ".", A_ScreenWidth / 2, A_ScreenHeight / 2)
Sleep(250)
Reload()
; MsgBox("reloading !")
return
}
; E 11.1607
; A 8.4966
; R 7.5809
; I 7.5448
; O 7.1635
; T 6.9509
; N 6.6544
; S 5.7351
; L 5.4893
; C 4.5388
; U 3.6308
; D 3.3844
; P 3.1671
; M 3.0129
; H 3.0034
; G 2.4705
; B 2.0720
; F 1.8121
; Y 1.7779
; W 1.2899
; K 1.1016
; V 1.0074
; X 0.2902
; Z 0.2722
; J 0.1965
; Q 0.1962