-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathworkscripttest.au3
48 lines (39 loc) · 991 Bytes
/
workscripttest.au3
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
#cs
Author: biodrone
Script Function: Test array searching for work script
#ce
;include all of the things
#include <File.au3>
#include <Array.au3>
#include <Misc.au3>
#include <Inet.au3>
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
#include <WindowsConstants.au3>
Main()
Func Main()
Local $aArray[6][4]
For $i = 0 To 5
For $j = 0 To 3
$aArray[$i][$j] = "#" & $i & $j
Next
Next
Local $hGUI = GUICreate("Example", 400, 200)
Local $idExit = GUICtrlCreateButton("EXIT", 310, 170, 85, 25)
Local $idOK = GUICtrlCreateButton("OK", 5, 170, 85, 25)
Local $txtSearch = GUICtrlCreateInput("", 5, 5, 385)
; Display the GUI.
GUISetState(@SW_SHOW, $hGUI)
; Loop until the user exits.
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE, $idExit
ExitLoop
Case $GUI_EVENT_CLOSE, $idOK
ExitLoop
EndSwitch
WEnd
; Delete the previous GUI and all controls.
GUIDelete($hGUI)
;_ArrayDisplay($aArray)
EndFunc