JacobMIX

Coolykoen's Moonlight AHK script

Aug 3rd, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Ver = 0.4
  2.  
  3. MsgBox, This is test version %ver% of the script. `nTo exit, simply rightclick the icon in your taskbar at the bottom right, and click `"exit`"`nThank you for testing `^`^
  4.  
  5.  
  6.  
  7. Process, exist, Moonlight.exe
  8. If ErrorLevel = 0
  9. GFE = 1
  10. Else
  11. GFE = 0
  12.  
  13. #If GFE = 1 ;If Host:
  14. F20::LWin
  15. F21::LCtrl
  16. F22::LAlt
  17. Pause::Run, %comspec% /c taskkill /im nvstreamer.exe /f,,HIDE
  18.  
  19. #If GFE = 0 ; If Client:
  20. LWin::F20
  21. LCtrl::F21
  22. LAlt::F22
  23. ~Pause::
  24. {
  25. Sleep, 100
  26. WinClose, ahk_exe Moonlight.exe
  27. Return
  28. }
Advertisement
Add Comment
Please, Sign In to add comment