Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- currentFKey := 1
- maxFKeys := 3
- ~WheelUp::
- currentFKey += 1
- if currentFKey > maxFKeys
- currentFKey := 1
- key := "F" . currentFKey
- SendInput {%key%}
- return
- ~WheelDown::
- currentFKey -= 1
- if currentFKey < 1
- currentFKey := maxFKeys
- key := "F" . currentFKey
- SendInput {%key%}
- return
- ~F1::
- currentFKey := 1
- return
- ~F2::
- if maxFKeys > 1
- currentFKey := 2
- return
- ~F3::
- if maxFKeys > 2
- currentFKey := 3
- return
- ~F4::
- if maxFKeys > 3
- currentFKey := 4
- return
- ~F5::
- if maxFKeys > 4
- currentFKey := 5
- return
- ~F6::
- if maxFKeys > 5
- currentFKey := 6
- return
- ~F7::
- if maxFKeys > 6
- currentFKey := 7
- return
- ~F8::
- if maxFKeys > 7
- currentFKey := 8
- return
- ~F9::
- if maxFKeys > 8
- currentFKey := 9
- return
- ~F10::
- if maxFKeys > 9
- currentFKey := 10
- return
- ~F11::
- if maxFKeys > 10
- currentFKey := 11
- return
- ~F12::
- if maxFKeys > 11
- currentFKey := 12
- return
Add Comment
Please, Sign In to add comment