Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
- #AutoIt3Wrapper_icon=Z-Icon.ico
- #AutoIt3Wrapper_outfile=Z-SERVER.exe
- #AutoIt3Wrapper_Compression=4
- #AutoIt3Wrapper_UseX64=n
- #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
- #cs ----------------------------------------------------------------------------
- AutoIt Version: 3.3.6.1
- Author: Zertap (Teacher: LaaZa)
- Script Function:
- Template AutoIt script.
- #ce ----------------------------------------------------------------------------
- ; Script Start - Add your code below here
- #include <GUIConstantsEx.au3>
- Opt("GUIOnEventMode", 1)
- $GUI = GUICreate ("Server", 120, 60)
- GUISetBkColor(0x000000)
- GUISetState (@SW_SHOW)
- GUISetOnEvent($GUI_EVENT_CLOSE, "SULJE")
- Func Sulje ()
- Exit
- EndFunc
- $nappi = GUICtrlCreateButton ("32-Bit", 5, 5, 50, 50)
- GUICtrlSetOnEvent($nappi, "nappi")
- Func nappi()
- Run ("Ahetserver.bat")
- Sulje()
- EndFunc
- $nappi2 = GUICtrlCreateButton ("64-Bit", 60 , 5, 50, 50)
- GUICtrlSetOnEvent($nappi2, "nappi2")
- Func nappi2()
- Run ("serverstart.bat")
- Sulje()
- EndFunc
- While 1
- Sleep(1000)
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement