| |
|
|
| Hello!
The following example resolve by me Weird from:
--------------------------------------------- WhileNot (%scankey = 27) WaitInput print GetSystemKey() EndWhile ---------------------------------------------
there the Result of GetSystemKey() the ASCII-code the squeezed Button is, question I, How I it into Ansi-code transfiguring should, there @OemToAnsi$(s) not correctly. working, there OemToAnsi$(Chr$(GetSystemKey ())) not functions can.
Thank you. |
|
|
| |
|
|
|
| Hello David,
it'll 0 back given... but probier the time...
x&=GetSystemKey() Print Str$(x&)
...instead of...
print GetSystemKey()
now funktionierts ! shining one Profan-bow with the Typenumwandlung To his, or ?
Greeting, Frank |
|
|
| |
|
|
|
| thanks Frank, working super!
one would yet: Why having Strg, old, old Gr any the value 17? %ScanKey gives with old Gr 18 from. |
|
|
| |
|
|
|
| Hi,
the lying well on it, the The function whom status all 256 Tastencodes checks. once of/ one found watts, kehrt The function to profane back. and there 17 of 18 comes, becomes The function with VK_MENU instead of VK_CONTROL exits, what means, that you a the Alttasten together with Strg pressed have. The ProSpeed guide is on this place too wrong, back won't the ASCII code given, separate the virtual Keycode, sorry. i'll the Change.
Profans %scankey is the Ergebniss of/ one keyboard Message and sustain therefore genauere values, operates for but only, if the window whom Focus own...
Greeting, Frank |
|
|
| |
|
|
|
| thanks for Erläuterungen!
mfg. David Scherr |
|
|
| |
|
|