Ultima modifica:
ecco il codice
potete correggere dov'è l' errore?
PS: non seleziona neanche le caselle .-.
PSS: +1 e like assicurati
#RequireAdmin#NoTrayIcon#include <ButtonConstants.au3>#include <GUIConstantsEx.au3>#include <StaticConstants.au3>#include <WindowsConstants.au3>#Include<Misc.au3>$dll = DllOpen("user32.dll")$Var0000 = FileSelectFolder("Seleziona la cartella di S4", "")If @error Then MsgBox(0x0010, "R.o.y.a.l", "Seleziona La Cartella Di S4") Exit Else EndIf If FileExists($Var0000 & "\patcher_s4.exe") Then FileInstall ( "CProgram Files (x86)\alaplaya\S4League\patcher_s4.exe", $Var0000 & "\patcher_s4.exe", 1) EndIf#Region ### START Koda GUI section ### Form=$Form1 = GUICreate("ReloadCancel And TrickBot By R.o.y.a.l", 414, 231, 192, 124)$Pic1 = GUICtrlCreatePic("CUsers\Antonio\Downloads\2wn4sxy.jpg", 0, 0, 404, 228)$Pic2 = GUICtrlCreatePic("CUsers\Antonio\Downloads\2wn4sxy.jpg", 8, 0, 404, 228)$Slot1 = GUICtrlCreateRadio("Slot 1", 16, 200, 89, 17)$Slot2 = GUICtrlCreateRadio("Slot 2", 160, 200, 89, 17)$Slot3 = GUICtrlCreateRadio("Slot 3", 296, 200, 89, 17)$TrickBot = GUICtrlCreateCheckbox("AutohotKey", 152, 16, 97, 17)GUISetState(@SW_SHOW)#EndRegion ### END Koda GUI section ###While 1 $nMsg = GUIGetMsg()Switch $nMsgCase $GUI_EVENT_CLOSEExit Case $TrickBot $selezionato = GUICtrlRead($TrickBot)while $selezionato = "1" If _IsPressed("1B", $dll) Then Exit EndIf If _IsPressed("34", $dll) Then Send("{SPACE DOWN}") Sleep ( 500 ) Send("{SPACE UP}") $1 = GUICtrlRead($Slot1)$2 = GUICtrlRead($Slot2)$3 = GUICtrlRead($Slot3) If $1 = "1" Then Send ( "1" ) ElseIf $2 = "1" Then Send ( "2" ) ElseIf $3 = "1" then Send ( "3" ) EndIf $selezionato = GUICtrlRead($TrickBot) EndifWEndEndSwitchWEnd
potete correggere dov'è l' errore?
PS: non seleziona neanche le caselle .-.
PSS: +1 e like assicurati