zum learnen habe ich versucht ein script zu schreiben ohne tutorial (nur mit google)
aber ich habe ein problem der script ist unsichtbar oder offnet sich nicht.
aber ich habe ein problem der script ist unsichtbar oder offnet sich nicht.
kann mier einer sagen was da falch ist ?[/QUOTE]wie CLOSE ich einen threat?[/QUOTE]Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
#Region ### START Koda GUI section ### Form=C:\Users\MC YANNICK\Desktop\y (4)\koda_1.7.3.0\Forms\tutorial.kxf
$Form1 = GUICreate("s4 launcher", 616, 156, 192, 132)
$Label1 = GUICtrlCreateLabel("launcher", 8, 16, 599, 52, BitOR($SS_CENTER,$SS_CENTERIMAGE))
GUICtrlSetFont(-1, 25, 400, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("launch s4Patcher", 456, 88, 139, 49)
$Button2 = GUICtrlCreateButton("Cancel", 16, 88, 137, 49)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Case $Button1
Run ("C:\Program Files (x86)\alaplaya\S4League\patcher_s4.exe")
EndSwitch
WEnd