Guest User

Untitled

a guest
Aug 11th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. currentFKey := 1
  2. maxFKeys := 3
  3.  
  4. ~WheelUp::
  5.     currentFKey += 1
  6.     if currentFKey > maxFKeys
  7.         currentFKey := 1
  8.        
  9.     key := "F" . currentFKey
  10.     SendInput {%key%}
  11. return
  12.  
  13. ~WheelDown::
  14.     currentFKey -= 1
  15.     if currentFKey < 1
  16.         currentFKey := maxFKeys
  17.        
  18.     key := "F" . currentFKey
  19.     SendInput {%key%}
  20. return
  21.  
  22. ~F1::
  23.     currentFKey := 1
  24. return
  25.  
  26. ~F2::
  27.     if maxFKeys > 1
  28.         currentFKey := 2
  29. return
  30.  
  31. ~F3::
  32.     if maxFKeys > 2
  33.         currentFKey := 3
  34. return
  35.  
  36. ~F4::
  37.     if maxFKeys > 3
  38.         currentFKey := 4
  39. return
  40.  
  41. ~F5::
  42.     if maxFKeys > 4
  43.         currentFKey := 5
  44. return
  45.  
  46. ~F6::
  47.     if maxFKeys > 5
  48.         currentFKey := 6
  49. return
  50.  
  51. ~F7::
  52.     if maxFKeys > 6
  53.         currentFKey := 7
  54. return
  55.  
  56. ~F8::
  57.     if maxFKeys > 7
  58.         currentFKey := 8
  59. return
  60.  
  61. ~F9::
  62.     if maxFKeys > 8
  63.         currentFKey := 9
  64. return
  65.  
  66. ~F10::
  67.     if maxFKeys > 9
  68.         currentFKey := 10
  69. return
  70.  
  71. ~F11::
  72.     if maxFKeys > 10
  73.         currentFKey := 11
  74. return
  75.  
  76. ~F12::
  77.     if maxFKeys > 11
  78.         currentFKey := 12
  79. return
Add Comment
Please, Sign In to add comment