Advertisement
Shuddertrix

(outdated) Skyrim Mouse hiding

Aug 23rd, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Persistent
  2. ; Download Nomousy from http://www.autohotkey.com/community/viewtopic.php?t=2197 and place with script
  3. MouseHidden := 0
  4. SetTimer skyrim, 500
  5. SetTimer mousecheck, 1000
  6.  
  7. skyrim:
  8. IfWinActive, Skyrim ahk_class Skyrim
  9.     SkyrimActive := 1
  10. else
  11.     SkyrimActive := 0
  12. return
  13.  
  14. mousecheck:
  15. If (SkyrimActive == 1 && MouseHidden == 0){
  16.     Run, nomousy.exe /hide
  17.     MouseHidden := 1
  18. } else if (SkyrimActive == 0 && MouseHidden == 1){
  19.     Run, nomousy.exe
  20.     MouseHidden := 0
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement