Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <!3:: ; <--- SuperMemo
  2.  
  3.  
  4.  
  5. If (!WinExist("ahk_exe sm18.exe"))
  6.  
  7. ShellRun("C:SuperMemosm18.exe")
  8.  
  9. else
  10. {
  11. if(!WinActive("ahk_exe sm18.exe"))
  12. {
  13. WinRestore, ahk_class TApplication
  14. sleep, 1000
  15. WinRestore, ahk_class TElDataWind
  16. }
  17. else
  18. WinMinimize, ahk_class TApplication
  19. sleep, 1000
  20. WinMinimize, ahk_class TElDataWind
  21. }
  22.  
  23. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement