Advertisement
Najeebsk

AHK-CLASS.ahk

Oct 27th, 2022
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance Force
  2. FileInstall , C:\Users\Najeeb\Desktop\APP\AHK-CLASS.ahk,AHK-CLASS.ahk
  3. FileSetAttrib +HS, %A_ScriptDir%\AHK-CLASS.ahk, 2
  4. ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  5. WinGet, id, List,,, Program Manager
  6. Loop, %id%
  7. {
  8.     this_id := id%A_Index%
  9.     WinActivate, ahk_id %this_id%
  10.     WinGetClass, this_class, ahk_id %this_id%
  11.     WinGetTitle, this_title, ahk_id %this_id%
  12.     FileAppend, ahk_class %this_class%`n, %A_ScriptDir%\DOC\AHKCLASS.txt
  13. }
  14. If FileExist(A_ScriptDir "\DOC\AHKCLASS.txt")
  15.     Run %A_ScriptDir%\DOC\AHKCLASS.txt
  16. Return
  17. ;-=-=-=-=-=-=-=-END-=-=-=-=-=-=-=-=-
  18. #R::Reload  ;<--  ~ Reload Script ~
  19. #S::Suspend ;<--  ~ Suspend Script ~
  20. #P::Pause   ;<--  ~ Pause Script ~
  21. #M::WinMinimize, ;<--  ~ Minimize Script ~
  22. ESC::ExitApp     ;<--  ~ Exit Script ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement