Advertisement
sdini

toggle numpad

Nov 20th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;This function turns the special key cluster above the arrows into a 10key.
  2. ;This will be toggled with the option key to help migrate over from a full size key board.
  3.  
  4. AppsKey::
  5. Toggle:
  6. if Toggle
  7.     goto, ToggleOff
  8. else
  9.     goto, ToggleOn
  10. return
  11.  
  12. ToggleOn:
  13. Toggle := True
  14.  
  15. PrintScreen::7
  16. ScrollLock::8
  17. Pause:: 9
  18. Ins::4
  19. Home::5
  20. PgUp::6
  21. Del::1
  22. End::2
  23. PgDn::3
  24. SC11D::0
  25. return
  26.  
  27. ; If you stack hotkeys like this, they all trigger the same code underneath
  28. ~Escape::
  29. ~!Tab::
  30.  
  31. ToggleOff:
  32. Toggle := False
  33.  
  34.  
  35. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement