mIRC Homepage
Posted By: Scriptor keyboard - 26/04/05 11:25 PM
i-was-wondering
I-have-a-broken-keybaord-or-the-space-bar...If-there-is-a-certian-way-to-script
something-so-i-can-hit-a-certian-button-to-space-for-mIRC?-thanks
Posted By: SladeKraven Re: keyboard - 26/04/05 11:36 PM
Hey Scriptor, try this..

Code:
alias f4 {
  editbox $editbox($active) $chr(32)
}


Instead of pressing spacebar, press the F4 key.

-Andy
Posted By: Scriptor Re: keyboard - 26/04/05 11:47 PM
Humm,doesn't-seem-to-work
Posted By: SladeKraven Re: keyboard - 26/04/05 11:52 PM
Ooops, my mistake. Change the $chr(32) to $chr(160).

Sorry.
Posted By: Scriptor Re: keyboard - 26/04/05 11:59 PM
thanks-tons-but-it-skips-two-is-there-anyway-to-fix-that
Posted By: FiberOPtics Re: keyboard - 27/04/05 12:05 AM
I still don't understand why people are giving that crappy non-fullproof solution for spaces, being $chr(160). It is not a space on all fonts! Don't you realise that people who have a font where 160 is not a space will see jibberish?

It could look like "this<weird char>is<weird char>jibberish"

You will notice, in almost any occasion, this dirty trick isn't needed, same in this case.

alias f4 editbox -p $editbox($active)
Posted By: DaveC Re: keyboard - 27/04/05 03:15 AM
Try a searcrh on the net for "tradekey"

[edit]
Damn swines have put it behind a pay site!


ok
add this to your reg (if u dare) it maps the right shift key to spacebar (you need to restart to have it take effect)

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"ScanCode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,39,00,36,00,00,00,00,00
Posted By: Kelder Re: keyboard - 27/04/05 09:31 AM
Maybe not what you wanted, but hold Alt, type 32 on your keypad and release Alt to get a space. No scripting, works in almost every Windows program...
Posted By: Forgotten00 Re: keyboard - 29/04/05 01:19 AM
well in VB6 for my bot I had the ASCII values, not this $char crap.

the ASCII Value for Space is:

Dec: 32
Hex: 20
Posted By: DaveC Re: keyboard - 29/04/05 05:50 AM
I cant beleieve anyone is still using vb6, lol
© mIRC Discussion Forums