Jump to content

W4rrior

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by W4rrior

  1. I have already open post ? And for info i have already contacted a GM Please how to close my windows ? When i click on $ButtonCancelCreateTrajet
  2. Hello i have this GUI Global $GUIListeConfigs = GUICreate("Configs", 319, 156, 684, 408) $GroupBox1 = GUICtrlCreateGroup("", 8, 1, 305, 97) Global $Combo1 = GUICtrlCreateCombo("", 72, 56, 169, 25) $Label1 = GUICtrlCreateLabel("Selectionnez une Configuration", 48, 16, 226, 24) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") GUICtrlCreateGroup("", -99, -99, 1, 1) Global $ButtonValiderCreateTrajet = GUICtrlCreateButton("&OK", 73, 107, 75, 25) Global $ButtonCancelCreateTrajet = GUICtrlCreateButton("&Cancel", 170, 107, 75, 25) #EndRegion ### END Koda GUI section ### And i have make this While 1 $nMsg = GUIGetMsg(1) Select Case $nMsg[0] = $GUI_EVENT_CLOSE If $nMsg[1] = $GUIListeConfigs Then GUISetState(@SW_hide, $GUIListeConfigs) Else Exit EndIf Case $nMsg[0] = $ButtonCancelCreateTrajet GUISetState(@SW_SHOW, $GUIListeConfigs) EndSelect WEnd But if i click on $ButtonCancelCreateTrajet and not close windows ... Can you tell me why ? THX
  3. Hello, i know how to count line number at one section. But how to know a last line number at one .ini section THX
  4. My zone for search pixel need to stay mouse on button for show popup. And i search in popup one pixel $x = 500 $y = 265 While 1 MouseMove($x, $y) PixelSearch($x + 20, $y - 50, $x + 100, $y + 10, 0x787871) If Not @error Then MsgBox("","", "ok pixel found") EndIf WEnd For more info ask me THX
  5. Hello i have this : Global $couleurPreuveRessourceNonCollecte[2]=["0xC6C6C4","0x6C6A67"] $useless = PixelSearch($x + 20, $y - 50, $x + 100, $y + 10, $couleurPreuveRessource[0],1) _ArrayDisplay($useless) Global $iColor = PixelGetColor($useless[0], $useless[1]) If Not @error Then MsgBox("", "", "Succees 1") ) EndIf But i have this error : But i have this error : ) (334): ==> Subscript used on non-accessible variable Local $iColor = PixelGetColor($useless[0], $useless[1]) 1st - i think i need show what color is taken, but i can't with this error. Can you help me please ?
×
×
  • Create New...