Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!3:: ; <--- SuperMemo
- If (!WinExist("ahk_exe sm18.exe"))
- ShellRun("C:SuperMemosm18.exe")
- else
- {
- if(!WinActive("ahk_exe sm18.exe"))
- {
- WinRestore, ahk_class TApplication
- sleep, 1000
- WinRestore, ahk_class TElDataWind
- }
- else
- WinMinimize, ahk_class TApplication
- sleep, 1000
- WinMinimize, ahk_class TElDataWind
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement