There's an old issue with the default timer: the OSD goes away much too fast, can't read what's been typed. At times it dissapears exactly when pressing a key instead of prolonging the timeout period. At script start I can't get to see the current layout, maybe the OSD should stay on until the user (right-)clicks it.

Now it needs special treatment for AltGr combinations (on RO layout and probably others). For example AltGr+ă=÷ and AltGr+î=×, but most importantly AltGr+q=\, AltGr+w=|, AltGr+b={, AltGr+n=} and a few others (see previously mentioned OSK screenshots on my blog). Actually AltGr is exactly the same as Ctrl+Alt, at least for RO layout (in XP).

Quote "here's an old issue with the default timer: the OSD goes away much too fast, can't read what's been typed. At times it dissapears exactly when pressing a key instead of prolonging the timeout period. At script start I can't get to see the current layout, maybe the OSD should stay on until the user (right-)clicks it. "

It stays visible by default for 3 seconds. Each key press prolongs its visibilty timer. However, if it hides when you type, it means your mouse is on top of it . This is a feature ... I made it to hide when the mouse hovers/runs over it, because I do not want it to get in the way of doing things.

My skills are limited and I am unable to cover aspects about AltGr + [letters]. My apologies. Maybe other people can implement this feature. I will add it to the to-do list, for others.

; TO-DO: ; features to implement: ; - show letters/chars generated by AltGr+[keys]; done ; - visual mouse clicks and highlighter/locator; done ; - tray menu or window with options/settings ; done ; - check for updates as an option; done ; - on first start, save all settings in the INI; done ; - text caret locator/highlighter ; - show a generic symbol for ignored dead keys; helps to clarify one was pressed; done ; - window spy, get texts underneath the mouse; - errors journaling ; ; glitches to fix [by priority]: ; - quirky Shift + [numpad keys] ; - [minor bug] once a key is pressed, counting of key fires is not initiated after the OSD was hidden for a little awhile; done/fixed ; - make dead keys work better, even detect them ; done ; - automatic resizing of the OSD/GUI is just a silly hack based on the default font size and the number of typed chars; it often fails to resize properly; done/much improved ; - redraw issues; it still flickers; ; - make it work reliably with sticky keys; if user presses once Ctrl and another key afterwards, it rarely detects the combination on Winndows 7;

Best regards, Marius.

Last edited by robodesign on 16 Nov 2017, 05:19, edited 4 times in total.

robodesign wrote:It stays visible by default for 3 seconds. Each key press prolongs its visibilty timer. However, if it hides when you type, it means your mouse is on top of it .

Unfortunately that is not the case, the cursor is far away from the OSD and still times out very quickly or fails to show up when typing. Minutes ago I just discovered a different issue (which may be the same!) as seen in the screenshot: OSD is being partially cut at the top. This may be related to my browser (QtWeb 3.8.5 build 108) unless there's a hidden keylogger or something similar running on my system.

robodesign wrote:My skills are limited and I am unable to cover aspects about AltGr + [letters]. My apologies. Maybe other people can implement this feature. I will add it to the to-do list, for others.

It should be the same as with Shift and numbers. Either AltGr or Ctrl+Alt, it's the same, they output the same characters. Admittedly it would complicate the script but they're really needed. Well, if you can't do it maybe someone else would chime in with a solution. I'm still away from coding, working in the garden these days.Cheers!

Yes, I could do something as I did for Shift. Another table of chars, for AltGr. However, I think all this is Sisyphus kind of work. All these tables could be replaced by various DLL calls and APIs from Windows.

I have no Windows XP to test. I think you have redraw issues, hmmm... Change this line:

Gui, +AlwaysOnTop -Caption +Owner +LastFound +ToolWindow +E0x20

Remove +E0x20 or change it with another style to suit your OS. Please return with your observations.

I'm almost retired from the (anti-)social web, been here for too long. All I got left are two e-mail addresses, everything else got deleted in time. I'll PM you soon, now I'm broken and pi$$ed off for some private reasons, need a beer and some rest. Keep up the good work!

v3.16 (2017-10-25) - work on the preferences windows - various improvements and fixes

v3.15 (2017-10-24) - typing in OSD is now more responsive when key or caps beeps are enabled - fixes related to typing with capslock on and using shift - created settings windows for Keyboard, Mouse and OSD