Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Gui, Show, w400 h400, WinHide
  2.  
  3. Gui, Add, Button, x20 y20 h50 w50 gRefresh, Refresh
  4.  
  5.  
  6.  
  7. Gui, Show
  8.  
  9. return
  10.  
  11. Refresh:
  12. {
  13. WinGet windows, List
  14. Loop %windows%
  15. {
  16. id := windows%A_Index%
  17. WinGetTitle wt, ahk_id %id%
  18. r .= wt . "`n"
  19. }
  20. MsgBox %r%
  21. }
  22.  
  23.  
  24.  
  25. return
  26.  
  27. GuiClose:
  28. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement