[Script] KeypressOSD - Display key press on screen
-
- Posts: 32
- Joined: 01 Sep 2016, 04:04
- Contact:
Re: [Script] KeypressOSD - Display key press on screen
@tmplinshi, may you add multiple pressing of modifier keys? For example, Ctrl+Ctrl, Shift+Shift+Shift+Shift+Shift (Sticky keys). Thanks.
Re: [Script] KeypressOSD - Display key press on screen
Last edited by tmplinshi on 24 Feb 2017, 09:03, edited 2 times in total.
-
- Posts: 32
- Joined: 01 Sep 2016, 04:04
- Contact:
Re: [Script] KeypressOSD - Display key press on screen
@tmplinshi, may you add behavior, if user send same hotkey for sticky modifier keys?
Now if ShowStickyModKeyCount = true for me, Ctrl+V, V display as Ctrl+V.
First input:
Second input:
It would be nice, if there were differences.
Thanks.
Now if ShowStickyModKeyCount = true for me, Ctrl+V, V display as Ctrl+V.
First input:
Code: Select all
Send, {LControl Down}
Send, {v}
Send, {LControl Up}
Send, {LControl Down}
Send, {v}
Send, {LControl Up}
Code: Select all
Send, {LControl Down}
Send, {v}
Send, {v}
Send, {LControl Up}
Thanks.
Re: [Script] KeypressOSD - Display key press on screen
@SashaChernykh Done.
Source
Code: Select all
v2.20 (2017-02-24) - Added displaying continuous-pressed combination keys.
e.g.: With CTRL key held down, pressing K and U continuously will shown as "Ctrl + k, u"
-
- Posts: 32
- Joined: 01 Sep 2016, 04:04
- Contact:
Re: [Script] KeypressOSD - Display key press on screen
@tmplinshi, now KeypressOSD nice work, if I press Ctrl+V, V, but don't displayed, if I press, for example, Ctrl+V, V, V, V, V.
Thanks for KeypressOSD!
Thanks for KeypressOSD!
Re: [Script] KeypressOSD - Display key press on screen
Code: Select all
v2.22 (2017-02-25) - Now pressing same combination keys continuously more than 2 times,
for example press Ctrl+V 3 times, will displayed as "Ctrl + v (3)"
- missclickman
- Posts: 4
- Joined: 03 Feb 2017, 11:59
Re: [Script] KeypressOSD - Display key press on screen
hi, first i want to say its an anwsome script!
But i have a little problem with my french client, that dont display following keystroke : éèçàù< (that normal keystroke, -for exemple if i press key "2" without pressing shift its "é"- in azerty keyboard layout)
But i have a little problem with my french client, that dont display following keystroke : éèçàù< (that normal keystroke, -for exemple if i press key "2" without pressing shift its "é"- in azerty keyboard layout)
Dont read this, nothing interesting here, ____________________________Here either
Re: [Script] KeypressOSD - Display key press on screen
Hi missclickman,
I just installed the French language with azerty keyboard layout, works fine for me. When I press key "2", the script displays "é".
I just installed the French language with azerty keyboard layout, works fine for me. When I press key "2", the script displays "é".
- missclickman
- Posts: 4
- Joined: 03 Feb 2017, 11:59
Re: [Script] KeypressOSD - Display key press on screen
OMG you are so quick Ootmplinshi wrote:Hi missclickman,
I just installed the French language with azerty keyboard layout, works fine for me. When I press key "2", the script displays "é".
Well i tried to add those key éèçàù in "otherkey" section but it was a problem when i switch my keyboard in other language (i get an error : this hotkey is invalid = ~* )
thank per advance
whish you a nice day
Dont read this, nothing interesting here, ____________________________Here either
-
- Posts: 21
- Joined: 07 Nov 2014, 10:20
-
- Posts: 21
- Joined: 07 Nov 2014, 10:20
Re: [Script] KeypressOSD - Display key press on screen
ok got fix it:
Code: Select all
CreateHotkey() {
Loop, 64
Hotkey, % "~*" Chr(A_Index + 31), OnKeyPressed
Loop, 29
Hotkey, % "~*" Chr(A_Index + 96), OnKeyPressed
Loop, 24 ; F1-F24
Hotkey, % "~*F" A_Index, OnKeyPressed
Loop, 10 ; Numpad0 - Numpad9
Hotkey, % "~*Numpad" A_Index - 1, OnKeyPressed
Re: [Script] KeypressOSD - Display key press on screen
(As always, the download links at RaptorX's thread in the archived forum are broken)tmplinshi wrote:This script is based on HotShow.ahk by RaptorX (http://www.autohotkey.com/board/topic/5 ... tutorials/).
Has anyone those png-images (don't know it those are special ones) available?
The code itself has been posted there
Thx 4 listening
PS. does anyone know where in his YouTube videos RaptorX has used that script/tool?
- Delta Pythagorean
- Posts: 628
- Joined: 13 Feb 2017, 13:44
- Location: Somewhere in the US
- Contact:
Re: [Script] KeypressOSD - Display key press on screen
How about customization on where the OSD displays?
[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat
Re: [Script] KeypressOSD - Display key press on screen
I don't know if I'm being thick, but when I paste this into my AHK script if it's at the bottom then it doesn't work, and if it's at the top then it stops all my other AHK binds from working.
Here's my current script: https://gist.github.com/Denyerec/5e5923 ... xt-L65-L66
(You'll notice the initialisation is currently commented out)
Any advice gratefully received as this would be such a useful tool when streaming tutorials!
(Apologies for the Guest post, if a mod can remove it that'd be great!)
Here's my current script: https://gist.github.com/Denyerec/5e5923 ... xt-L65-L66
(You'll notice the initialisation is currently commented out)
Any advice gratefully received as this would be such a useful tool when streaming tutorials!
(Apologies for the Guest post, if a mod can remove it that'd be great!)
Re: [Script] KeypressOSD - Display key press on screen
Why do some lines in my script never execute?
Any lines you want to execute immediately when the script starts should appear at the top of the script, prior to the first hotkey, hotstring, or Return. For details, see auto-execute section.
Re: [Script] KeypressOSD - Display key press on screen
Yes I saw that, but I don't understand beyond this which lines I *should* have at the top of the script in this case :/
Re: [Script] KeypressOSD - Display key press on screen
Ahh hang on. I think I'm getting somewhere!
Wait - no, false alarm, I have no idea what I'm doing. I've moved the OSD script into a different file to call it in, but I don't understand what it's doing well enough to know why it blocks my normal binds :/
So I understand from the manual that the first bind stops the autoexecute - but if that was the thing that's stopping my binds, then the first bind would stop all subsequent ones... so that doesn't make any sense to me. Something about this script is stopping the rest of my script from working and I have no idea what.
I've updated the gist: https://gist.github.com/Denyerec/5e5923 ... e1-txt-L25
The included file contains the exact paste from this thread's script. I don't understand how I am to shuffle things around in the config to make the other binds work, any guidance appreciated.
Wait - no, false alarm, I have no idea what I'm doing. I've moved the OSD script into a different file to call it in, but I don't understand what it's doing well enough to know why it blocks my normal binds :/
So I understand from the manual that the first bind stops the autoexecute - but if that was the thing that's stopping my binds, then the first bind would stop all subsequent ones... so that doesn't make any sense to me. Something about this script is stopping the rest of my script from working and I have no idea what.
I've updated the gist: https://gist.github.com/Denyerec/5e5923 ... e1-txt-L25
The included file contains the exact paste from this thread's script. I don't understand how I am to shuffle things around in the config to make the other binds work, any guidance appreciated.
Re: [Script] KeypressOSD - Display key press on screen
Why even bother including this in another script?
Why not just run it separately?
Why not just run it separately?
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 94 guests