Тема: AHK: Команда if и вывод значения в ahk
Хотел сделать чтобы на экран вывелось "Yes", но результат "No".
msgbox, yes
Gui, Add, edit, x41 y10 w40 h40 vKey +Center, %Key%
Gui, Add, Button, x12 y60 w100 h30 gCheck , Проверить
Gui, Show, w127 h111, Untitled GUI
return
GuiClose:
ExitApp
Key := 1
Check:
if(key = 1)
{
msgbox, yes
}
else
{
msgbox, no
}