The hotkey functions are easy to understand, but I'll explain them anyway:
Middle button + Left button activates and deactives the script. This is necessary because all normal mouse funtions aren't useable while the Mouse2Type is running.
Scroll up or Scroll down scrolls through the alphabet. As noted, Mouse2Type only sends alpha characters but it would be easy enough to add numeric and punctuation marks if needed.
Left Mouse backspaces.
Right Mouse moves the cursor right one. This needs to be pressed after each letter is chosen to go to the next space.
Middle button + Right button is the spacebar.
Suspend, On Count = 64 ;Toggles Mouse2Type for normal mouse funtion MButton & LButton::Suspend, Toggle ;Spacebar Mbutton & RButton:: Send, {SPACE} return ;Scroll forward through alphabet WheelUp:: Count++ if Count > 90 { Count = 65 } Send, {ASC %Count%}+{LEFT} return ;Scroll backward through alphabet WheelDown:: Count-- if Count < 65 { Count = 90 } Send, {ASC %Count%}+{LEFT} return ;Moves the cursor right one. (necessary to type the next letter) RButton:: Count = 64 Send, {RIGHT} return ;Backspace LButton:: Count = 64 Send, {BACKSPACE} return
I was envisioning a terminal of some kind that didn't have a keyboard (but strangely was running windows and had mouse support) that occasionally would benefit from the ability to type. Granted, such a thing probably doesn't exist. But nevertheless, enjoy!
-Greg