Je voudrais savoir s il serait possible de le faire rechercher dans les sections mais aussi dans les clés en même temps
par exemple Le nom , Desc , et tag ?
Merci pour votre aide

Script pour la recherche
Code : Tout sélectionner
Func _search()
        $search = _GUICtrlListView_FindText($ListView0, GUICtrlRead($Input1))
		WinSetTitle($Form1, "", "Recherche de "&GUICtrlRead($Input1)&" dans la base de donnée")
	    _GUICtrlListView_DeleteAllItems($ListView0)
        $array = IniReadSectionNames($iniFile)
            ; Is there anything in the input?
            $sText = GUICtrlRead($Input1)           ; search
            If StringLen($sText) <> 0 Then
                ; Create a list of matches
                Local $aMatch_List[1] = [0]
                $iStart = 1
                For $i = 1 To UBound($array) - 1
				    $tag = IniRead($iniFile, $array[$i], "Tag", "")
                    $desc = IniRead($iniFile, $array[$i], "Desc", "")
					$pub = IniRead($iniFile, $array[$i], "Publisher", "")
					$date = IniRead($iniFile, $array[$i], "Date", "")
					$version = IniRead($iniFile, $array[$i], "Version", "")
                    ; Look for the match
                    If StringInStr($array[$i], $sText) Then
                        ; Add to list
                        $aMatch_List[0] += 1
						;_ArrayDisplay($aMatch_List)
                        ReDim $aMatch_List[$aMatch_List[0] + 1]
                        $aMatch_List[$aMatch_List[0]] = ""&$array[$i] & "|" & $desc & "|"&$tag ;$ desc[$ i] don't want to work because desc is not an array
                        ; GUICtrlCreateListViewItem($aMatch_List[$aMatch_List[0]], $ListView0); test
                    EndIf
                Next
                ; Add matches to ListView
                _GUICtrlListView_BeginUpdate($ListView0)
                For $i = 1 To $aMatch_List[0]
                    ;GUICtrlCreateListViewItem($aMatch_List[$i], $ListView0)
                Next
                _GUICtrlListView_EndUpdate($ListView0)
            Else
                ; Reload everything
                ;ContinueCase
			 EndIf
    
	
EndFunc





