Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, 7th_zorro), 893 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
For Videotutorials: Automatic Displaying Clicked Keys #331547
07/04/10 23:46
07/04/10 23:46
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline OP
Senior Expert
Pappenheimer  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I want to capture video tutorials, I already did, but I still miss a tool that automatically displays the pressed keys and mouse buttons.

Question 1:
Is there already an inexpensive tool somewhere in the net?
(the newest version of Camtasia is quite expensive)

Question 2:
Is there a way to program such a tool without much effort?
(in any language)

Question 3:
Is it possible to program such a tool with Lite-C without knowing much about the window API and such?

Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Pappenheimer] #331548
07/04/10 23:55
07/04/10 23:55
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
q3: i guess it's possible that you could make a small screen that shows every key press and always stays on top in lite-c.

edit: well, took a quick look, you need some winapi, probably:
SetWindowsHookEx with WH_KEYBOARD and keyboardProc Callback.

Last edited by Quadraxas; 07/05/10 00:02.

3333333333
Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Quad] #331550
07/05/10 00:06
07/05/10 00:06
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline OP
Senior Expert
Pappenheimer  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I tried the digital.c in the samples folder, and it keeps showing while I was in in a different program, but it didn't receive a key, while it updated the time.

Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Pappenheimer] #331551
07/05/10 00:08
07/05/10 00:08
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
that's why you need to install a keyboard hook using winapi - to be able catch keys while your window is not on "focus" -

Last edited by Quadraxas; 07/05/10 00:08.

3333333333
Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Quad] #331552
07/05/10 00:11
07/05/10 00:11
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline OP
Senior Expert
Pappenheimer  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Thanks for your fast and informative replies! laugh
I have to go to bed now, because of my work tomorrow.
See ya.

Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Pappenheimer] #331553
07/05/10 00:14
07/05/10 00:14
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
further, a systemwide-hook MAY not be possible without a dll, thus it may not be possible with lite-c.

tried it, it's possible if you do not mind going a little low-level.

Last edited by Quadraxas; 07/05/10 00:28.

3333333333
Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Quad] #331756
07/06/10 01:01
07/06/10 01:01
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
I created a tool for that:

download:
http://dl.dropbox.com/u/4979264/kbhook.rar

Automatically changes size

You can drag it to anywhere in the screen, always stays on top.

Right click brings up the settings, so far window alpha, background and foreground colors are changeable. If you open settings at far right or far bottom side of the screen you would not be able to click on the exit or save button, in this case press esc it saves settings.

To close the app either right click on the app window and click exit in settings menu, or close it from the taskbar.

open for suggestions.

Last edited by Quadraxas; 07/06/10 01:02.

3333333333
Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Quad] #331845
07/06/10 15:01
07/06/10 15:01
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline OP
Senior Expert
Pappenheimer  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Wow, didn't expect that! laugh
It says " can't hook the keyboard, terminating." frown

Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Pappenheimer] #331881
07/06/10 16:36
07/06/10 16:36
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
you may need to run it as administrator and make sure your antivirus does not think it's a keylogger.


3333333333
Re: For Videotutorials: Automatic Displaying Clicked Keys [Re: Quad] #331969
07/06/10 21:19
07/06/10 21:19
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline OP
Senior Expert
Pappenheimer  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I have Windows XP and my Antivirus would throw a message as well. frown

Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1