Welcome Guest.   Make a donation to an author on the site September 01, 2014, 11:34:13 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE - IDEA: Display mouse clicks and key presses  (Read 28093 times)
bmm
Charter Member
***
Posts: 15


View Profile WWW Give some DonationCredits to this forum member
« on: August 30, 2005, 01:01:52 PM »

I don't know how easy/hard this will be to program but the idea seems simple to me.

The idea is to display the pressed keys/key combinations and mouse clicks on-screen live. This can be useful when recording screencasts and you want to show every action that you actually do.

I don't know of any existing programs for Windows to do this but there is actually a cool one for Linux (http://programmer-art.org/key-status) which can be seen used in this screencast: http://e-learning.vslib.c...ideos/scale_stiffness.avi
« Last Edit: September 19, 2005, 08:56:48 PM by mouser » Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: August 30, 2005, 01:38:13 PM »

that's quite a brilliant idea for screencasting - and i think would be pretty easy to write.
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: August 31, 2005, 01:45:34 PM »

ShowOff shows what keys and buttons are pushed down.

Edit the ini file to decide what keys to display.



You'll find the downloads and more info at Skrommel Software.

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: August 31, 2005, 02:09:38 PM »

Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: August 31, 2005, 02:16:07 PM »

i just love it when skrommel codes up something like this as if it were nothing.

i hope people who are reading this forum realize that skrommel just makes it look easy - you could spend a week trying to find someone to code this and have no luck.

any way we could get the key pressed to display in a really big text font, like half an inch high, etc. or is that not so easy with ahk?
Logged
bmm
Charter Member
***
Posts: 15


View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: August 31, 2005, 08:48:14 PM »

Darn that was quick. thumbs up thumbs up smiley

And a nice solution as well since it isn't very intrusive displayed as a Tooltip where it won't overlap other things in a screencast.

Another request for the ini file might be an option to display the tooltip in the top left corner of the active window instead of the screen when you are just doing a screencast of a window. Although I know this could easily be adjusted in the text version of the script changing "CoordMode,ToolTip,Screen" to "CoordMode,ToolTip,Relative" it might be easier to some as an option in the ini file.
Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: August 31, 2005, 09:08:02 PM »

option for in active window would be nice, but i'd really like it to display like in bottom center of my screen in big text, for when i really want to draw attention to it..
Logged
bmm
Charter Member
***
Posts: 15


View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: September 01, 2005, 02:45:19 AM »

Unfortunately some screencast programs have problems capturing tooltips in Windows XP (except the tooltips for the minimize, maximize and close button for some reason). This includes ViewletBuilder, Demo Builder and the one I use and support Wink, although other programs don't have this problem like Captivate and TurboDemo.

It is still a very nice script though.
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: September 01, 2005, 07:49:52 PM »

 smiley Now try v1.1!

Added user defined and movable status window.

Skrommel.
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: September 01, 2005, 07:54:35 PM »

now that is perfect.  thumbs up

don't forget if you find skrommel's programs useful, consider making a donation to him!
« Last Edit: September 02, 2005, 03:13:29 AM by mouser » Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: September 02, 2005, 02:38:43 AM »

excellent.

i wouldn't be surprised to see the feature being built in to some of the screencaster progs when they finally wake up to the idea.
Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: September 02, 2005, 03:06:07 AM »

i agree with you nudone, i suspect this will become common eventually.
Logged
bmm
Charter Member
***
Posts: 15


View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: September 02, 2005, 07:01:51 PM »

Nice work with the new version. smiley

The programs mentioned above (ViewletBuilder, Demo Builder and Wink) that doesn't capture tooltips also doesn't capture transparent windows/objects. But fortunately it is easy to get the script to work with the these screencast programs. It is just a matter of deleting or setting a ";" in front of the following line. (It is not enough to set transparency=255).

[copy or print]
WinSet,Transparent,%transparency%,ShowOff

This could probably be included as a "compatibility setting" in the ini file instead of editing the script.
Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: September 02, 2005, 09:22:26 PM »

nice catch bmm; skrommel you might want to add a comment about that in your ahk.
Logged
oyster
Participant
*
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #14 on: September 03, 2005, 09:55:58 AM »

Thank you, bmm and Skrommel cheesy
I have tried this script, it is nice and works almost like what I have expected. But here are some problems:
1. It does not support key-combination well, for example, I press Ctrl+D, sometimes there is only Ctrl is shown.  I am using win98 and I have added Ctrl in the ini file
The showed mouse button disappear more quick than keypress. If I Ctrl+LMB, "LButton" flashes quickly, and then there is only "ctrl" left on the screen

2. How can I change the order of displayed characters. If I use Shift+F1, "F1 Shift" is shown. But I think Shift, Ctrl, Alt then other chars and mouse is a good order.

3. How can I get the real keypress? If I press Enter, it says "Enter NumpadEnter",",<" for "," etc. How can I get "a", "A", "shift a", ",", "<" and so on?

thanx again
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: September 03, 2005, 05:52:08 PM »

 smiley Updated ShowOff to v1.2. Please delete your existing ini-file before upgrading, or run it in another directory.

Added info on how to turn off transparency, added user defined display time, changed how to show shift keys.

To oyster:
1. This is the actual state of things, Ctrl is in fact down after you release D. But I've taken your advice in v1.2 and I think it's a better solution. Maybe I'll show all keys pressed, just adding up until all are released again?

2. To change the order of displayed characters, place the shift keys farther up in the ini file. Also changed in v.1.2.

3. To accomodate for "all" keyboard layouts, I decided to include as many keys as possible. Just remove the ones you don't want and add the ones I didn't know about.

This is also why ShowOff doesn't display the "real keypress" - it can't tell the keyboard layout. If there's demand, I could make a proper user defined lookup table, something like
[copy or print]
LShift a=You pressed A.
LShift b=You pressed B.
...

Skommel
« Last Edit: September 03, 2005, 06:28:36 PM by skrommel » Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
oyster
Participant
*
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #16 on: September 14, 2005, 10:58:07 PM »

[copy or print]
LShift a=You pressed A.
LShift b=You pressed B.
...

Skommel
Yes, please. I think blenderheads would like to read LMB other than LButton Wink
Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: August 18, 2009, 12:26:50 PM »

just used ShowOff to help me in a screencast i made.. GREAT TOOL  thumbs up
Logged
dimis308
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #18 on: December 05, 2009, 11:07:19 AM »

This is a great tool. I'd like to ask something though. I've stepped many times into a series being named like this:
xyy where x is the season and yy is the episode. I've tried to modify the ini file but my programming skills are limited and I' dont know how the format should be. Do you have any ideas on how to add this to the ini file?

Example:  "212 - This is a title.avi"   

Cheers
Logged
truffle
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #19 on: July 23, 2013, 06:31:00 PM »

Cool utility would be nice if it supported the following:

Display key when pressed until it is released.

I tried setting timetoshow and timetohide to 0, this causes it to flash briefly when pressed.

Rationale:

I want to use this when playing computer games in a window to show keyboard input for screencasting. With video games, the duration a key is pressed is important, not just what key is pressed. Thanks cheesy
Logged
hutchinsfairy
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #20 on: September 02, 2013, 08:44:59 AM »

Thank you for ShowOff, exactly what I was looking for! I have a couple of comments:
1) If ShowOff is set not to capture mouse clicks then it (perhaps unsurprisingly) cannot be moved using the mouse.
2) It would be nice to be able to rename keys/clicks. I'm presuming the previous suggestion in this thread would take care of this.

Thanks again.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.04s | Server load: 0.02 ]