Have part of large script which print lines of items to screen and users have to choose one them by press key of assigned letter. Number of lines vary, all alphabete letters may be occupied. There should be two more options except choosing some items in the menu: (b)ack and (q)uit. Convention used in menus in rest of script is "first letter in menu word have to be keypressed" but, as mented, all letters could be occupied in this case.
Want to employ only keys which are same on all keyboards, regardingless if it is desktop or laptop, or if there is some regional keybord layout (still expect latin letters [a-z] present on keyb layout). Is there any key in the keyboard which is shared across all keyboard layout except a-z?
Testing CTRL+KEY solution which give me value 2 for CTRL+b resp. 17 for CTRL+q, but do not know if this is reliable and still prefer single key solution, if it is possible.
Any ideas?
BG kbd - always present key except letter one
Moderator: DosItHelp
BG kbd - always present key except letter one
Last edited by lazna on 20 May 2022 16:47, edited 1 time in total.
Re: BG kbd - always present key except letter one
Honestly I don't even expect latin letters to be present on every keyboard. Thinking of cyrillic or greek keyboard layouts for example. Maybe you'll have luck with 0-9 which should be at least more likely to exist than A-Z.
Steffen
Steffen
Re: BG kbd - always present key except letter one
Its a technical tool, for such purpose expecting querty (or similar) keyb is far enough. I have not ambitions to make it working on ANY computer
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: BG kbd - always present key except letter one
I'd expect every keyboard to have a spacebar and an enter button
Re: BG kbd - always present key except letter one
thats it!
I cant realize enter key use is possible, but it does work!
thanks, L.
I cant realize enter key use is possible, but it does work!
thanks, L.
Re: BG kbd - always present key except letter one
That would be expected yes but I think we'll be suprisedShadowThief wrote: ↑20 May 2022 23:35I'd expect every keyboard to have a spacebar and an enter button