Aceguy Posted June 20, 2006 Share Posted June 20, 2006 I would like to omit 1 section name from $recipie that this proc, recieved.. i.e. all except [charlie] then GUICtrlSetData($Recipie, $var[$i_n]) #include <GUIConstants.au3> #include <GuiListView.au3> Dim $IniFile = @DesktopDir & "\Recipes.ini" $Form1 = GUICreate("test", 175, 475, 850, 150) $Recipie = GUICtrlCreateCombo("", 10, 8, 155, 21) $var = IniReadSectionNames($IniFile) For $i_n = 1 To $var[0] GUICtrlSetData($Recipie, $var[$i_n]) Next ;inifile look like this....... ;[aplha] ;[bravo] ;[charlie] ;[delta] ;[echo] ;[foxtrot] please help............ [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
FuryCell Posted June 20, 2006 Share Posted June 20, 2006 (edited) on a friends pc which does not have au3 so i can't test but why not add something like this after "For" If $var[$i_n]="charlie" then ContinueLoop Edited June 20, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
marfdaman Posted June 20, 2006 Share Posted June 20, 2006 (edited) hmmm..... #include <GUIConstants.au3> #include <GuiListView.au3> Dim $IniFile = @DesktopDir & "\Recipes.ini" $Form1 = GUICreate("test", 175, 475, 850, 150) $Recipie = GUICtrlCreateCombo("", 10, 8, 155, 21) $var = IniReadSectionNames($IniFile) For $i_n = 1 To $var[0] If $var[$i_n] <> "charlie" Then GUICtrlSetData($Recipie, $var[$i_n]) Next ;inifile look like this....... ;[aplha] ;[bravo] ;[charlie] ;[delta] ;[echo] ;[foxtrot] Edit: wtf pressing the spacebar is suddenly doing the same as enter... Alzo Edited June 20, 2006 by marfdaman Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Aceguy Posted June 20, 2006 Author Share Posted June 20, 2006 thanks guys will try..... [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now