Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance Force
- #Persistent
- SetTimer skyrim, 1000
- SetTimer mousecheck, 1000
- skyrim:
- IfWinActive, ahk_class Skyrim
- SkyrimActive := 1
- IfWinNotActive, ahk_class Skyrim
- SkyrimActive := 0
- mousecheck:
- If (SkyrimActive == 1 && MouseHidden == 0){
- Run, nomousy.exe /hide
- MouseHidden == 1
- } else if (SkyrimActive == 0 && MouseHidden == 1){
- Run, nomousy.exe
- MouseHidden == 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement