Hey Guys,
i have the below code i am trying to get it to when i select region it will run a certain program how do i do this with combo boxes
any help would be appreciated
i have the below code i am trying to get it to when i select region it will run a certain program how do i do this with combo boxes
[ autoit ]
#include #include #include #include #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("LoL Launcher", 304, 153, 359, 124) GUISetIcon("D:\Swift\Desktop\lol.ico", -1) $DropBox = GUICtrlCreateCombo("Choose Your Region", 79, 66, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUICtrlSetData(-1, "European West(EUW)|North American(NA)") $Button1 = GUICtrlCreateButton("Launch LoL", 114, 112, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
any help would be appreciated