-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils.ahk
55 lines (53 loc) · 1.46 KB
/
utils.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
#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%
;disables all GUI elements
disableAll() {
GuiControl, Disable, aif
GuiControl, Disable, flac
GuiControl, Disable, m4a
GuiControl, Disable, mp3
GuiControl, Disable, ogg
GuiControl, Disable, wav
GuiControl, Disable, Awebm
GuiControl, Disable, Vwebm
GuiControl, Disable, avi
GuiControl, Disable, flv
GuiControl, Disable, mkv
GuiControl, Disable, mov
GuiControl, Disable, mp4
GuiControl, Disable, gif
GuiControl, Disable, ico
GuiControl, Disable, jpg
GuiControl, Disable, png
GuiControl, Disable, Convert
GuiControl, Disable, KeepOriginal
GuiControl, Disable, LocateFile
GuiControl, Disable, LocateFolder
GuiControl, Disable, RawFileLocation
}
;enables all GUI elements
enableAll() {
GuiControl, Enable, aif
GuiControl, Enable, flac
GuiControl, Enable, m4a
GuiControl, Enable, mp3
GuiControl, Enable, ogg
GuiControl, Enable, wav
GuiControl, Enable, Awebm
GuiControl, Enable, Vwebm
GuiControl, Enable, avi
GuiControl, Enable, flv
GuiControl, Enable, mkv
GuiControl, Enable, mov
GuiControl, Enable, mp4
GuiControl, Enable, gif
GuiControl, Enable, ico
GuiControl, Enable, jpg
GuiControl, Enable, png
GuiControl, Enable, Convert
GuiControl, Enable, KeepOriginal
GuiControl, Enable, LocateFile
GuiControl, Enable, LocateFolder
GuiControl, Enable, RawFileLocation
}