Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  2. #AutoIt3Wrapper_icon=Z-Icon.ico
  3. #AutoIt3Wrapper_outfile=Z-SERVER.exe
  4. #AutoIt3Wrapper_Compression=4
  5. #AutoIt3Wrapper_UseX64=n
  6. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  7. #cs ----------------------------------------------------------------------------
  8.  
  9. AutoIt Version: 3.3.6.1
  10. Author: Zertap (Teacher: LaaZa)
  11.  
  12. Script Function:
  13. Template AutoIt script.
  14.  
  15. #ce ----------------------------------------------------------------------------
  16.  
  17. ; Script Start - Add your code below here
  18.  
  19. #include <GUIConstantsEx.au3>
  20. Opt("GUIOnEventMode", 1)
  21. $GUI = GUICreate ("Server", 120, 60)
  22. GUISetBkColor(0x000000)
  23. GUISetState (@SW_SHOW)
  24. GUISetOnEvent($GUI_EVENT_CLOSE, "SULJE")
  25. Func Sulje ()
  26. Exit
  27. EndFunc
  28. $nappi = GUICtrlCreateButton ("32-Bit", 5, 5, 50, 50)
  29. GUICtrlSetOnEvent($nappi, "nappi")
  30. Func nappi()
  31. Run ("Ahetserver.bat")
  32. Sulje()
  33. EndFunc
  34. $nappi2 = GUICtrlCreateButton ("64-Bit", 60 , 5, 50, 50)
  35. GUICtrlSetOnEvent($nappi2, "nappi2")
  36. Func nappi2()
  37. Run ("serverstart.bat")
  38. Sulje()
  39. EndFunc
  40. While 1
  41. Sleep(1000)
  42. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement