EzFlow997

Win List

Dec 2nd, 2025
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Autohotkey 0.45 KB | Source Code | 0 0
  1. #Requires AutoHotkey v2.0
  2. #InputLevel 1
  3. #SingleInstance Force
  4. PID := DllCall("GetCurrentProcessId")
  5. ProcessSetPriority "High", PID
  6. A_HotkeyInterval := 0
  7. Hotkey "^1", Exit
  8. Exit(ThisHotkey){
  9.     ExitApp
  10. }
  11.  
  12. loop(5){
  13.     list := WinGetList()
  14.     printString := ""
  15.    
  16.     for item in list{
  17.         listItem := WinGetTitle(item)
  18.         printString := Format("{1}`n{2}", printString, listItem)
  19.     }
  20.    
  21.     ToolTip(printString)
  22.     Sleep(1000)
  23.     Tooltip
  24.  }
Advertisement
Add Comment
Please, Sign In to add comment