#include <ButtonConstants.au3>
$TITLE = "Выбор списка отозванных сертификатов"
$FOLDER = @TempDir
ControlSetText($TITLE, "", "Edit1", $FOLDER)
;ControlClick($TITLE, "", "Button2", "Main", 2)
$hButton = ControlGetHandle($TITLE, "", "Button2")
DllCall("user32.dll", "int", "SendMessage", "hwnd", $hButton, "uint", $BM_CLICK, "int", 0, "int", 0)
ControlSetText($TITLE, "", "Edit1", "")