[WT-support] Caps Lock- ASCII code
Clive Whelan
clive.whelan at btinternet.com
Fri Oct 9 01:41:27 CEST 2009
Thanks Mark and Bob
Yes the key code is different to the ASCII code, and I already found 3A
which is fairly obviously HEX and definitely doesn't work neither does
58 (Decimal?). Mark, the function definitely requires an ASCII code, see
the release notes for the latest dev version.
This may explain why everything I tried just doesn't work ( altho' let's
reserve judgement on 30 Decimal). If Caps Lock indeed doesn't have an
ASCII code perhaps I need to reprogramme the key to another ( say @ or
\) but to date all my attempts to redefine the key have also failed.
Perhaps this is another one like the Pause key was until Larry breathed
on it a while ago?
73
Clive
GW3NJW
kd4d at comcast.net wrote:
> Hi Clive:
>
> Could your function want a key code instead of an ASCII character? There isn't
> an ASCII character for "CAPS LOCK."
>
> Keyboards send Scan Codes to the computer. The Key Code
> for CAPS LOCK is defined in Microsoft's specification as
>
> key location 101/102 Enhanced Keyboard scan 1 make scan 1 break scan 2 make scan 2 brake
>
> 30 Caps Lock 3A BA 58 F0 58
>
> The software may want a Scan 1 code. See
>
> http://www.beyondlogic.org/keyboard/keybrd.htm
>
> or
>
> http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc
>
> 73,
>
> Mark, KD4D
>
>
> ----- Original Message -----
> From: "Clive Whelan" <clive.whelan at btinternet.com>
> To: support at win-test.com
> Sent: Thursday, October 8, 2009 1:55:00 PM GMT -05:00 US/Canada Eastern
> Subject: [WT-support] Caps Lock- ASCII code
>
> Could some guru please tell me what the ASCII code is for the Caps Lock key?
>
> I'm fooling around with the new API
>
> wtApp:SendKeyCode()
>
> and can send all sorts of stuff, e.g. <tab> successfully but just can't find a valid reference on line for the Caps Lock key which I want to try out.
>
> tia
>
> 73
>
>
> Clive
> GW3NJW
>
>
> _______________________________________________
> Support mailing list
> Support at win-test.com
> http://www.f5mzn.org/cgi-bin/mailman/listinfo/support
> _______________________________________________
> Support mailing list
> Support at win-test.com
> http://www.f5mzn.org/cgi-bin/mailman/listinfo/support
>
>
More information about the Support
mailing list