Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gui, Show, w400 h400, WinHide
- Gui, Add, Button, x20 y20 h50 w50 gRefresh, Refresh
- Gui, Show
- return
- Refresh:
- {
- WinGet windows, List
- Loop %windows%
- {
- id := windows%A_Index%
- WinGetTitle wt, ahk_id %id%
- r .= wt . "`n"
- }
- MsgBox %r%
- }
- return
- GuiClose:
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement