Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Persistent
- ; Download Nomousy from http://www.autohotkey.com/community/viewtopic.php?t=2197 and place with script
- MouseHidden := 0
- SetTimer skyrim, 500
- SetTimer mousecheck, 1000
- skyrim:
- IfWinActive, Skyrim ahk_class Skyrim
- SkyrimActive := 1
- else
- SkyrimActive := 0
- return
- 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