Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- #SingleInstance Force
- #IfWinActive The Secret World
- MouseLook = 1
- Gosub, ToggleCursor
- ; Define your Toggle keybind, default is CapsLock. List of keys here: www.autohotkey.com/docs/KeyList.htm
- ~CapsLock::
- Gosub, ToggleCursor
- Return
- Esc::
- if (MouseLook)
- {
- Gosub, ToggleCursor
- Send {Esc}
- }
- Else
- Send {Esc}
- Return
- ToggleCursor:
- if MouseLook = 0
- {
- Send {RButton Down}
- MouseLook = 1
- }
- else
- {
- Send {RButton Up}
- MouseLook = 0
- }
- Hotkey,*LButton,Toggle
- Hotkey,*LButton UP,Toggle
- Hotkey,*RButton,Toggle
- Hotkey,*RButton UP,Toggle
- Return
- #If (MouseLook)
- {
- LButton::1
- RButton::2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement