-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGUITEMP.ahk
More file actions
executable file
·221 lines (200 loc) · 5.42 KB
/
GUITEMP.ahk
File metadata and controls
executable file
·221 lines (200 loc) · 5.42 KB
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
CoordMode, Mouse, Screen
MouseGetPos, xx, yy, WinID
PixelGetColor, var11, %xx%, %yy%, RGB
WinGetTitle, WinTtl, AHK_ID %WinID%
WinGetPos, wpxx, wpyy, wpww, wphh, AHK_ID %WinID%
MsgBox, % var11
Session:
{
Sess := 0
Sess++
}
Loop, 10
{
If (A_Index = 1)
{
Cmd := "ID"
}
If (A_Index = 2)
{
Cmd := "IDLast"
}
If (A_Index = 3)
{
Cmd := "PID"
}
If (A_Index = 4)
{
Cmd := "ProcessName"
}
If (A_Index = 5)
{
Cmd := "Count"
}
If (A_Index = 6)
{
Cmd := "List"
}
If (A_Index = 7)
{
Cmd := "MinMax"
}
If (A_Index = 8)
{
Cmd := "Transparent"
}
If (A_Index = 9)
{
Cmd := "TransColor"
}
If (A_Index = 10)
{
Cmd := "Style"
}
Index := 1
Index++
Loop, 1
{
WinGet, var%Index% , %Cmd%, AHK_ID %WinID%
}
}
If (var7 = "-1")
{
WinState := "Minimized"
}
If (var7= "1")
{
WinState := "Maximized"
}
If (var7 = "0")
{
WinState := "Not minimized/maximized"
}
MsgBox, % WinTtl . "`n-------------------`n" . "1. " . var1 . "`n" . "2. " . var2 . "`n" . "3. " . var3 . "`n" . "4. " . var4 . "`n" . "5. " . var5 . "`n" . "6. " . var6 . "`n" . "7. " . WinState . "`n" . "8. " . var8 . "`n" . "9. " . var9 . "`n" . "10. " . var10
;Return
Gui, Add, Tab, x6 y7 w460 h270 , Window|Control
Gui, Add, GroupBox, x16 y37 w220 h230 , Names and I.D.'s
Gui, Add, GroupBox, x246 y37 w210 h230 , Sytles and colors
Gui, Add, ListView, x476 y27 w180 h250 , Title|Session|Date
Gui, Add, GroupBox, x416 y47 w30 h30,
Gui, Add, Button, x36 y57 w60 h20 gCB1, Title
Gui, Add, Button, x36 y87 w60 h20 gCB2, I.D.
Gui, Add, Button, x36 y117 w60 h20 gCB3, Last
Gui, Add, Button, x36 y147 w60 h20 gCB4, P.I.D.
Gui, Add, Button, x36 y177 w60 h20 gCB5, P.Name
Gui, Add, Button, x36 y207 w60 h20 gCB6, Count
Gui, Add, Button, x36 y237 w60 h20 gCB7, List
Gui, Add, Button, x256 y57 w60 h20 gCB8, Min/Max
Gui, Add, Button, x256 y87 w60 h20 gCB9, Transp.
Gui, Add, Button, x256 y117 w60 h20 gCB10, T.Color
Gui, Add, Button, x256 y147 w60 h20 gCB11, Style/Ex
Gui, Add, Button, x256 y177 w60 h20 gCB12, Color.
Gui, Add, Button, x256 y207 w60 h20 gCB13, X-pos.
Gui, Add, Button, x256 y237 w60 h20 gCB14, Y-pos
Gui, Add, Edit, x106 y57 w120 h20 vEd1, %WinTtl% ; Window title
Gui, Add, Edit, x106 y87 w90 h20 vEd2, %var1% ; Window I.D.
Gui, Add, Edit, x106 y117 w90 h20 vEd3, %var2% ; Last I.D.
Gui, Add, Edit, x106 y147 w90 h20 vEd4, %var3% ; P.I.D.
Gui, Add, Edit, x106 y177 w90 h20 vEd5, %var4% : Process Name
Gui, Add, Edit, x106 y207 w90 h20 vEd6, %var5% ; Count
Gui, Add, Edit, x106 y237 w90 h20 vEd7, %var6% ; List
Gui, Add, Edit, x326 y57 w50 h20 vEd8, %var7% ; Min/Max
Gui, Add, Edit, x326 y87 w50 h20 vEd9, %var8% ; Transparency
Gui, Add, Edit, x326 y117 w50 h20 vEd10, %var9% ; Transparency color
Gui, Add, Edit, x326 y147 w50 h20 vEd12, %var10% ; Style/ExStyle
Gui, Add, Edit, x326 y177 w50 h20 vEd11, %var11% ; Color
Gui, Add, Edit, x326 y207 w50 h20 vEd13, %wpxx% ; X-pos
Gui, Add, Edit, x326 y237 w50 h20 vEd14, %wpyy% ; Y-os
Gui, Add, Text, x476 y7 w180 h20 +Center, Copied history
Gui, Tab, Control
;Gui, Add, GroupBox, x16 y37 w440 h230 , Names and I.D.'s
; Generated using SmartGUI Creator 4.0
Gui, Show, x595 y348 h284 w664, Captured data
LV_Add("Col1", Sess, , A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
Return
CB1:
{
ControlGetText, txx, Edit1, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB2:
{
ControlGetText, txx, Edit2, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB3:
{
ControlGetText, txx, Edit3, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB4:
{
ControlGetText, txx, Edit4, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB5:
{
ControlGetText, txx, Edit5, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB6:
{
ControlGetText, txx, Edit6, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB7:
{
ControlGetText, txx, Edit7, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB8:
{
ControlGetText, txx, Edit8, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB9:
{
ControlGetText, txx, Edit9, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB10:
{
ControlGetText, txx, Edit10, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB11:
{
ControlGetText, txx, Edit11, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB12:
{
ControlGetText, txx, Edit12, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB13:
{
ControlGetText, txx, Edit13, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
CB14:
{
ControlGetText, txx, Edit14, Captured data
LV_Add("Col1", txx, "*", A_MMM . " ". A_Hour . ":" . A_Min . ":" . A_Sec)
}
Return
GuiClose:
ExitApp