Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <ComboConstants.au3>
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <StaticConstants.au3>
- #include <WindowsConstants.au3>
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("PROSIT+ScriptGUI - Complete Sequence", 501, 601, 737, 173)
- $testTypeComboBox = GUICtrlCreateCombo("", 24, 40, 177, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
- GUICtrlSetData(-1, "SWDL test|Complete sequence test|Other test", "SWDL test")
- GUICtrlSetBkColor(-1, 0xF4F7FC)
- $comboBoxLabel = GUICtrlCreateLabel("Type of Test:", 24, 16, 67, 17)
- $prodIDLabel = GUICtrlCreateGroup("Product ID", 296, 16, 185, 105)
- $prodSeriesInput1 = GUICtrlCreateInput("", 392, 48, 81, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_UPPERCASE))
- GUICtrlSetLimit(-1, 5)
- GUICtrlSetCursor (-1, 5)
- $prodNumInput1 = GUICtrlCreateInput("", 392, 80, 81, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
- GUICtrlSetLimit(-1, 6)
- GUICtrlSetCursor (-1, 5)
- $prodSeriesLabel1 = GUICtrlCreateLabel("Product Series:", 304, 56, 76, 17)
- $prodNumLabel1 = GUICtrlCreateLabel("Product Number:", 304, 88, 84, 17)
- GUICtrlCreateGroup("", -99, -99, 1, 1)
- $closebutton = GUICtrlCreateButton("Close", 408, 560, 75, 25)
- $startbutton = GUICtrlCreateButton("Start Script", 232, 560, 163, 25)
- GUICtrlSetBkColor(-1, 0xFFFFFF)
- $Label8 = GUICtrlCreateLabel("Number of iterations:", 232, 536, 101, 17)
- $iterations = GUICtrlCreateInput("", 336, 528, 57, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
- GUICtrlSetCursor (-1, 5)
- $helpbutton = GUICtrlCreateButton("Help", 8, 560, 43, 25)
- $Checkbox3 = GUICtrlCreateCheckbox("Specific operation mode", 232, 504, 137, 17)
- $Checkbox4 = GUICtrlCreateCheckbox("Product specific mode", 232, 480, 129, 17)
- $Icon1 = GUICtrlCreateIcon("C:\Users\a295693\Desktop\info_3525.ico", -1, 376, 480, 16, 16)
- GUICtrlSetCursor (-1, 4)
- $Icon3 = GUICtrlCreateIcon("C:\Users\a295693\Desktop\info_3525.ico", -1, 376, 504, 16, 16)
- GUICtrlSetCursor (-1, 4)
- $Group1 = GUICtrlCreateGroup("Select sequence", 24, 88, 257, 113)
- $sequenceNameLabel1 = GUICtrlCreateLabel("Sequence name 1:", 32, 120, 94, 17)
- $squenceNameInput1 = GUICtrlCreateInput("", 136, 112, 137, 21)
- GUICtrlSetCursor (-1, 5)
- $alternateSequenceCheckBox = GUICtrlCreateCheckbox("Alternate sequences", 56, 144, 145, 17)
- $squenceNameInput2 = GUICtrlCreateInput("", 136, 168, 137, 21)
- GUICtrlSetCursor (-1, 5)
- $sequenceLabel2 = GUICtrlCreateLabel("Sequence name 2:", 32, 176, 94, 17)
- GUICtrlCreateGroup("", -99, -99, 1, 1)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Icon1
- Case $Icon3
- EndSwitch
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement