-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI run.ahk
132 lines (110 loc) · 4.53 KB
/
GUI run.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
; 創建GUI窗口
Gui, Add, Button, gRunScript1 w80 h20 y15 x10 , Colon
Gui, Add, Button, gRunScript2 w80 h20 y15 x105, Esophagus
Gui, Add, Button, gRunScript3 w80 h20 y40 x10, Gastric
Gui, Add, Button, gRunScript4 w80 h20 y40 x105, HCC
Gui, Add, Button, gRunScript5 w80 h20 y65 x10, Lung
Gui, Add, Button, gRunScript6 w80 h20 y65 x105, Prostate
Gui, Add, Button, gRunScript7 w80 h20 y90 x10, Endometria
Gui, Add, Button, gRunScript8 w80 h20 y90 x105, Cervical
Gui, Add, Button, gRunScript9 w80 h20 y115 x10, Ovarian
Gui, Add, Button, gRunScript10 w80 h20 y115 x105, Pancreas
Gui, Add, Button, gRunScript11 w80 h20 y140 x10, Colangio
Gui, Add, Button, gRunScript12 w80 h20 y140 x105, Nasopharynx
Gui, Add, Button, gRunScript13 w80 h20 y165 x10, Oral
Gui, Add, Button, gRunScript14 w80 h20 y165 x105, Oropharynx
Gui, Add, Button, gRunScript15 w80 h20 y190 x10, Hypopharynx
Gui, Add, Button, gRunScript16 w80 h20 y190 x105, GIST
Gui, Add, Button, gRunScript17 w80 h20 y215 x10, RCC
Gui, Add, Button, gRunScript18 w80 h20 y215 x105, Urinary bladder
Gui, Add, Button, gRunScript19 w80 h20 y240 x10, Larynx
; GUI Configuration
; Gui, Color, 85ddda ; 綠
; Gui, Color, cca6bf ; 紅藤色
; Gui, Color, a3a3a2 ; 薄墨色
; Gui, Color, ee827c ; 甚三紅
Gui, Color, ee827c ; 甚三紅
Gui, Font, cDefault, Arial
Menu, Tray, Icon, C:\Green software\Icon\favicon-20181225093349134.ico, 1
; 顯示GUI窗口,在螢幕的左上角位置(x=0, y=0),窗口大小為200x300
Gui, Show, x1720 y850 w200 h280, Stage form
return
; 按鈕1的處理程序Colon
RunScript1:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\colon.ahk"
return
; 按鈕2的處理程序Esophagus
RunScript2:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\esophageal.ahk"
return
; 按鈕3的處理程序Gastric
RunScript3:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Gastric.ahk"
return
; 按鈕4的處理程序HCC
RunScript4:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\HCC.ahk"
return
; 按鈕5的處理程序Lung
RunScript5:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Lung.ahk"
return
; 按鈕6的處理程序Prostate
RunScript6:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Prostate.ahk"
return
; 按鈕7的處理程序Endometria
RunScript7:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\endometrial.ahk"
return
; 按鈕8的處理程序Cervical
RunScript8:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\cervical.ahk"
return
; 按鈕9的處理程序Ovarian
RunScript9:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\ovarian.ahk"
return
; 按鈕10的處理程序Ovarian
RunScript10:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\pancreatic.ahk"
return
; 按鈕11的處理程序Colangio
RunScript11:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Colangio.ahk"
return
; 按鈕12的處理程序Nasopharynx
RunScript12:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Nasopharyngeal.ahk"
return
; 按鈕13的處理程序Oral
RunScript13:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Oral.ahk"
return
; 按鈕14的處理程序Oropharynx
RunScript14:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Oropharynx.ahk"
return
; 按鈕15的處理程序Hypopharynx
RunScript15:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Hypopharygeal.ahk"
return
; 按鈕16的處理程序GIST
RunScript16:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\GIST.ahk"
return
; 按鈕17的處理程序RCC
RunScript17:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\RCC.ahk"
return
; 按鈕18的處理程序Urinary bladder
RunScript18:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Urinary bladder.ahk"
return
; 按鈕19的處理程序Larynx
RunScript19:
Run, "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Green software\AHK compiler\Staging form\Larygeal.ahk"
return
; 關閉GUI窗口
GuiClose:
ExitApp