20230303 2323
REF
[1] "https://www.autohotkey.com/boards/viewtopic.php?t=1929" dynamic gui, adding more options
[2] "https://www.autohotkey.com/boards/viewtopic.php?t=44684" button adds another textbox in its place
EditCount := 1
Gui, Add, Button, gbtn_add, &Add
Gui, add, button, gbtn_submit x+0, &Submit
Gui, add, button, gbtn_exit x+0 yp, Exit[Ctrl+ESC]
Gui, Add, Edit, w200 vzEdit%EditCount% xm,
Gui, Show
return
btn_add:
EditCount++
Gui, Add, Edit, w200 vzEdit%EditCount% xm,
Gui, Show, AutoSize, Test
return
btn_submit:
Gui, submit, nohide ;★ READ GUI DATA INPUTS
loop %EditCount%
zstr .= zEdit%A_Index% "`n" ; ★ ADD STRINGS IN A LOOP
MsgBox,% zstr
return
btn_exit:
ExitApp
return
return ;main
^ESC:: ExitApp
ExitApp ;main
output, screenshot
'[PA] 업무자동화 > [AH]Autohotkey' 카테고리의 다른 글
AH GUI 메뉴 추가하기 (0) | 2023.03.05 |
---|---|
AH 한명이 승인요청 중일 때 다른 사람이 요청하면 (0) | 2023.03.04 |
AH GUI Text font 색깔 바꾸기 (0) | 2023.02.28 |
AH generating GUI using Loop (0) | 2023.02.28 |
AH 맨마지막 특정문자 찾기 (0) | 2023.02.25 |