Почему-то не работает кнопка $combo1. После нажатия должна показывать все запущенные процессы.
Код:
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Renamer by lcd1232", 251, 100, 192, 124)
$Button1 = GUICtrlCreateButton("Rename", 192, 32, 57, 49, $WS_GROUP)
$Combo1 = GUICtrlCreateCombo("Имя окна", 32, 32, 145, 25)
GUICtrlCreateInput("", 32, 56, 145, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
GUICtrlRead($combo1)
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
if $combo1 Not 0 Then
GUICtrlSetOnEvent($combo1, "SEARCHPID")
EndIf