2023.03.05
REF
[1] "https://stackoverflow.com/questions/29174984/multiple-guis-not-launching-from-autohotkey"
Gui, x1:add, edit, w90 h40 hwndxEdit, drop file here
Gui, x1:add, button, gbtn_ok, &OK
Gui, x1:add, button, x+0 gbtn_exit, &Exit
Gui, x1:show, w200 h100, gui_Test
return
go_second_gui:
Gui, x2: add, edit, , aaa gui
Gui, x2:show, w200 h100
return
btn_ok:
gui, x1:destroy
gosub, go_second_gui
return
btn_exit:
ExitApp
return
x1GuiDropFiles:
MouseGetPos,,,,Hdrop,2
if(Hdrop=xEdit)
MsgBox,% A_GuiEvent ;the names of the files that were dropped
Gui, show,,gui_Test
return
^ESC:: ExitApp
'[PA] 업무자동화 > [AH]Autohotkey' 카테고리의 다른 글
AH 배열 출력, concatenate dot(.) (0) | 2023.03.10 |
---|---|
AH detecting mouse click (0) | 2023.03.10 |
AH GUI file drag and drop (0) | 2023.03.06 |
AH Gui control click했을 때 반응하기 (0) | 2023.03.05 |
AH GUI 메뉴 추가하기 (0) | 2023.03.05 |