| View previous topic :: View next topic |
| Author |
Message |
Greg
Joined: 22 Dec 2005 Posts: 246
|
Posted: Fri Jan 06, 2006 8:29 pm Post subject: Mouse 2 Type |
|
|
This script converts the mouse into the keyboard (alpha characters only). It is almost completely useless, but maybe there is some one-handed person out there who needs it.
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.
| Code: |
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 |
|
| Back to top |
|
 |
Greg
Joined: 22 Dec 2005 Posts: 246
|
Posted: Fri Jan 06, 2006 8:53 pm Post subject: |
|
|
| Apparently this doesn't work in IE. I only tested it in notepad. So I guess it is even more useless than I previously thought. Oh well. :? |
|
| Back to top |
|
 |
shashank
Joined: 06 Jan 2006 Posts: 2
|
|
| Back to top |
|
 |
Ace_NoOne
Joined: 10 Oct 2005 Posts: 333 Location: Germany
|
Posted: Thu Feb 02, 2006 5:44 pm Post subject: |
|
|
Wow, that's a cool idea!
Plus I had to chuckle at the "terminal of some kind that didn't have a keyboard (but strangely was running windows and had mouse support)"...
With the use of a two-axis mouse wheel (which I haven't seen live yet), this might be made a little more efficient to use. I've always liked the key glove idea (though here too, I've never actually seen or even used one), and this kinda goes into the same direction.
@shashank:  |
|
| Back to top |
|
 |
TheLeO
Joined: 11 Jun 2005 Posts: 179 Location: England ish
|
Posted: Thu Feb 02, 2006 6:16 pm Post subject: |
|
|
i like the idea, perhaps not use it as a keybord but have certain words like common used user name, password, or websites,,
cheers for the idea. _________________ And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
:: |
|
| Back to top |
|
 |
Smart Alec Guest
|
Posted: Fri Feb 03, 2006 4:24 pm Post subject: Re: Mouse 2 Type |
|
|
| Greg wrote: | It is almost completely useless, but maybe there is some one-handed person out there who needs it.
-Greg |
Why wouldn't a one handed person be able to use a keyboard?  |
|
| Back to top |
|
 |
Ace_NoOne
Joined: 10 Oct 2005 Posts: 333 Location: Germany
|
Posted: Sat Feb 18, 2006 2:11 pm Post subject: |
|
|
| I just came across Dasher (thanks to the guys over at Donation Coder) - definitely worth checking out! |
|
| Back to top |
|
 |
|