Guest User

Untitled

a guest
Oct 15th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. isMouseShown()
  2. {
  3. StructSize := A_PtrSize + 16
  4. VarSetCapacity(InfoStruct, StructSize)
  5. NumPut(StructSize, InfoStruct)
  6. DllCall("GetCursorInfo", UInt, &InfoStruct)
  7. Result := NumGet(InfoStruct, 8)
  8.  
  9. if Result
  10. return 1
  11. else
  12. return 0
  13. }
  14.  
  15. #If !isMouseShown() and WinActive("Darkfall Online")
  16. ~*f::
  17. SendEvent, {PgUp}
  18. SendEvent, {PgDn}
  19. return
  20.  
  21. #If !isMouseShown() and WinActive("Darkfall Online")
  22. ~Tab::
  23. SendEvent, {k}
  24. SendEvent, {F10}
  25. SendEvent, {F11}
  26.  
  27. !Tab::
  28. return
  29.  
  30. Shift::l
  31. Capslock::Shift
Add Comment
Please, Sign In to add comment