Jump to content

ImStUPid

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ImStUPid's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Appreciate your help
  2. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Global $i = 0 Global $kBoolean = True #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 272, 234, 192, 124) $Edit1 = GUICtrlCreateEdit("", 16, 16, 225, 161) GUICtrlSetData(-1, "Edit1") $Button1 = GUICtrlCreateButton("start", 40, 184, 75, 25) $Button2 = GUICtrlCreateButton("stop", 168, 184, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Func line() While $kBoolean GUICtrlSetData($Edit1,"line : "&$i&@CRLF,1) Sleep(1000) $i += 1 WEnd EndFunc While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 line() Case $Button2 $kBoolean = False EndSwitch WEnd I have two button ( "start" and "stop") . When I click start it will print "line :" $i += 1 . but when I want to stop and resume after stopped. What should I write to do "that" function I want. sorry for my bad english. Thanks for reading
  3. Is anyone used to make checker for skill checker for dead by daylight I have tried but I can't make it sometimes , it works but it doesn't works all the time #RequireAdmin HotKeySet("{ESC}","_exit") $color = 0xFCE1DF While 1 $a = 0 While $a = 0 $a = PixelSearch(884, 470,1030, 613,0x676768) ; check the circle is appear or not WEnd $b = 0 Do $b = PixelSearch(884, 470,1030, 613,$color) ;success zone Until UBound($b) = 2 Send("{SPACE}") WEnd Func _exit() Exit EndFunc
×
×
  • Create New...