[Script] KeypressOSD - Display key press on screen

Post your working scripts, libraries and tools
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 03:58

Thank you very much for testing it, rommmcek! I am happy to hear it is working well.

That's the idea behind this app. Not to have it as an aid to type full length essays, but for casual use, eg. for chatting - as I use it.

It still got some bugs and I am going to improve it still.
Last edited by robodesign on 25 Jan 2018, 04:02, edited 2 times in total.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
ozzii
Posts: 307
Joined: 30 Oct 2013, 06:04

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 03:59

Too bad now it's using AHK_H ;(
So I use the latest version working with the normal AHK version.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 04:06

Ozzii: please check github:

https://github.com/marius-sucan/KeyPress-OSD

You can download the ZIP from there. It is compiled, for x64. If you want me to make releases for x32, please tell me. It is the latest version there.

Direct link [compiled x64], KeyPress OSD v4.10:
http://marius.sucan.ro/media/files/blog ... xe-x64.zip

The compiled version should work for you. I will soon make Check for Updates work in the compiled version.

My purpose is to make it available to an audience as large as possible. While the migration to AHK_H limits the audience in some ways, I will do my best to provide compiled versions and spread it beyond the AHK forum community.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 16:04

Hello!

Today's version is ready:

v4.13 (2018-01-25)
- fixed a bug related to text selections
- mediate navigation keys limited now to Home / End only
- various bug fixes related to Mediated key strokes for caret jumps

Download AHK file from or use the Update now option:
https://github.com/marius-sucan/KeyPress-OSD
http://marius.sucan.ro/media/files/blog ... ss-osd.ahk

Compiled x64. Not updated.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 16:56

Hi Marius, all good here, tested German, Spanish, Russian, Romanian. Everything seems to me to be working fine.
Win7 64-bit, AHK 1.1.27.06 (haven't dared to update recently).
Regards,
burque505
User avatar
Drugwash
Posts: 560
Joined: 29 May 2014, 21:07
Location: Ploieşti, Romania

Re: [Script] KeypressOSD - Display key press on screen

25 Jan 2018, 17:19

Actually, burque, it would be helpful if you would update to 1.1.27.07 and perform some tests, more precisely script restarts. In XP the script crashes AHK_H upon restart and we would like some validation whether it crashes in Win7 too or not. You can always go back to 1.1.27.06 after that, if you still have those binaries. If not, I could provide them to you.
If you can't (or won't) do it it's OK.
I've deleted my CloudMe account because of GDPR - the now legal base for privacy invasion and data theft.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

26 Jan 2018, 11:08

Hello!

Today's new version is here:

Download AHK file from or use the Update now option:
https://github.com/marius-sucan/KeyPress-OSD
http://marius.sucan.ro/media/files/blog ... ss-osd.ahk

Binaries [updated]:
http://marius.sucan.ro/media/files/blog ... mpiled.zip

v4.16 (2018-01-26)
- [new] option to set centered alignment for the OSD
- [new] distinct alignment per position A and B
- [improvement] Updater works with compiled x64/x32 binaries of this script
- updated Troubleshooting and Help
- fixes regarding Ctrl+Del/Bksp with selections

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

26 Jan 2018, 15:03

Hi guys.
1) I confirm the crash exists on Win7-64 with AHK_H 1.1.27.07. Reverted to 1.1.27.06, crash is gone.
2) Regarding OSD - on my system, it is impossible to get preference "A" to appear completely onscreen. No change in parameters make it move. Tried everything up to 199 for 'x'. Preference "B" works fine, as does drag (nice!). I have DPI set to 120, but it doesn't seem to make any difference in appearance whether I auto-resize or not.
That crash is certainly disconcerting. This 1.1.27 series seems to be cursed.
Regards,
burque505
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

26 Jan 2018, 15:19

@burque505: Thank you for signaling the error. Fixed it now. Wrong defaults. Sorry. Thank you very much.

Current version: v4.16.2
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

26 Jan 2018, 17:40

@Burque505 , @ozzii. Do you guys have any feature requests?
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

27 Jan 2018, 14:45

Hello, guys!

Today's new version is here:

Download files or use the Update now option:
on GitHub: https://github.com/marius-sucan/KeyPress-OSD

If the following links don't work. Everything is on github.

Main AHK file:
http://marius.sucan.ro/media/files/blog ... ss-osd.ahk
Please use AHK_H v1.1.27 [unicode] to execute this script.

ZIP Package compiled [x64 / x32]
http://marius.sucan.ro/media/files/blog ... mpiled.zip

Change log:
v4.16.5 (2018-01-27)
- [improvement] now you can switch between Settings windows and change all the settings and Apply only once, without reloads inbetween. [suggestion from drugwash]
- fixed defaults for OSD positions [thx Burque505]
- it now removes temporary files in system folders [thanks to Drugwash]
- now you can press Escape to close About or any other Settings window
- updated About window

Please offer me feedback and suggestions, or features you'd like to see.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

28 Jan 2018, 12:51

Today's new version is here:

Change log for v4.17.0 (2018-01-28)
- much improved support for extended unicode chars and Emojis in the OSD
- redesigned Keyboard and Mouse settings windows
- added options to change flashing idle mouse color and visual mouse clicks color

All files updated, including the binaries.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

29 Jan 2018, 16:34

Hello, again!

And another small incremental release/update:

v4.17.5 (2018-01-29)
- [new] option to set large UI fonts for preferences
- redesigned OSD appearance settings window as well
- other UI related bug fixes
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

29 Jan 2018, 18:30

Hi Marius, for OSD preferences, position A still does not work right away, although eventually it migrates to the selected position. To change A, you have to click the B radio button and click back. Drag seems to be gone, was that intentional? For 'OSD Alignment (A/B)', the right dropdown is inactive, I assume it hasn't been implemented yet.
In general, working just fine, though!
Regards,
burque505
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

29 Jan 2018, 18:39

Thank you very much for the report. No features were removed, just added tabs to make the windows less cluttered.

Please be more attentive... "When mouse runs over"... It's an option, a drop-down. There you can select drag mode. The feature was not removed.

Then alignement is enabled per position. If a is enabled, then only the corresponding drop-down is enabled, if b, the other one.

Please confirm that this is the case.

I will look into position A issues. Maybe you did not reset to defaults?

Best regards, Marius
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

30 Jan 2018, 12:54

Hi Marius, I think I understand a little better now, thanks to your explanation. Using the preview helped a great deal.
If I'm understanding correctly, for 'A' and 'B', the options for 'Left' and 'Right' refer to where the 'x' coordinate references the OSD. Please let me know if that's not right. Regardless, I can make it do what I want now without any trouble.
I'm positive I had not reset the defaults when updating, so I'm sure that contributed to my confusion.
Everything seems to be working fine.
Regards,
burque505
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

30 Jan 2018, 16:54

Yes, that's what the alignment refers to. Glad to hear everything is working well. Thank you very much for the feedback.

Based on your feedback, I will put each alignment drop-down in line with each position preset, to reduce confusion. I hope this will be easier to grasp immediately for new users.

Today I worked on implementing text capture from applications adhering to Microsoft accessibility APIs.... Not yet done.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

30 Jan 2018, 18:59

Sounds good, Marius!
Thanks for keeping up the good work.
Regards,
burque505

P.S. I just saw this script by stealzy. Easy layout switching.
Here's a screenshot:
Lyt.PNG
Lyt.PNG (21.69 KiB) Viewed 547 times


Maybe something there to incorporate?
robodesign
Posts: 352
Joined: 30 Sep 2017, 03:59
Facebook: marius.sucan
GitHub: mariussucan
Location: Romania
Contact:

Re: [Script] KeypressOSD - Display key press on screen

31 Jan 2018, 13:09

Hello!

Thanks, burque505. It looks like a good script, but...

Does KeyPress fail to detect properly the name of installed keyboard layouts on your system, or...? Tell me if it is so.

Today I am releasing a small incremental version of the script:

v4.17.7 (2018-01-31)
- UI related bug fixes

Download files or use the Update now option:
on GitHub: https://github.com/marius-sucan/KeyPress-OSD

Main AHK file:
http://marius.sucan.ro/media/files/blog ... ss-osd.ahk
Please use AHK_H v1.1.27 [unicode] to execute this script.

ZIP Package compiled [x64 / x32]
http://marius.sucan.ro/media/files/blog ... mpiled.zip

GitHub and all binaries updated.

The new feature to capture text underneath the mouse cursor is hard to implement. It may take a while till I finish it.

Best regards, Marius.
-------------------------
KeyPress OSD v4: GitHub or forum. (presentation video)
My home page.
burque505
Posts: 487
Joined: 22 Jan 2017, 19:37

Re: [Script] KeypressOSD - Display key press on screen

01 Feb 2018, 08:37

Hi Marius, new version is working fine. By the way: 大神你好,打扰了,请问你的薇信多少,我有个很简单的脚本问题想请教一下您 all shows up great in the OSD! Just found that by accident. I had copied some text and had the script running - there it was.
Regards,
burque505

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 17 guests