topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 6:07 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Very, very easy request: Show what key is pressed  (Read 12014 times)

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Very, very easy request: Show what key is pressed
« on: April 02, 2009, 03:25 PM »
I want to know what code a certain media key on my keyboard sents to my pc. I just want something what says which key is pressed. That's all. Scancode is fine aswel.
« Last Edit: April 02, 2009, 03:40 PM by Coeluh »

gexecuter

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 252
  • Move over and give us some room...
    • View Profile
    • Elite Freeware
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #1 on: April 02, 2009, 04:15 PM »
I think Skrommer had made a little app that when run showed what keyboard keys were being pressed, it was called ShowOff. It may be what you are looking for.
Mouser is made of win and awesome!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #2 on: April 02, 2009, 04:17 PM »
I almost suggested ShowOff myself -- which is a cool program meant to show on screen in a nice big font the key being pressed, and was designed for making screenscast video recordings.. It's a very useful tool for such purposes.

BUT, i think what Coeluh is asking for (correct me if wrong!) is something to help him figure out what the hotkeys or keyboard scancodes are for certain keys, so that he can use these codes in another program.

gexecuter

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 252
  • Move over and give us some room...
    • View Profile
    • Elite Freeware
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #3 on: April 02, 2009, 04:21 PM »
I almost suggested ShowOff myself -- which is a cool program meant to show on screen in a nice big font the key being pressed, and was designed for making screenscast video recordings.. It's a very useful tool for such purposes.

BUT, i think what Coeluh is asking for (correct me if wrong!) is something to help him figure out what the hotkeys or keyboard scancodes are for certain keys, so that he can use these codes in another program.

Oh, if that's the case i dunno which app to recommend.
Mouser is made of win and awesome!

tranglos

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,081
    • View Profile
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #4 on: April 02, 2009, 04:35 PM »
I want to know what code a certain media key on my keyboard sents to my pc. I just want something what says which key is pressed. That's all. Scancode is fine aswel.

try this:
http://www.tranglos.com/keytest.zip

(Really bare-bones, tested only on XP.)

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #5 on: April 02, 2009, 04:53 PM »
Another one, oh hell, while we're at it :P

showmethekeys.PNG

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #6 on: April 03, 2009, 04:42 AM »
Thanks for the reply's, I found out the scancode is 133. Now what I need is try to do some ahk coding. I want to when 133 is pressed simulate a alt-f4
« Last Edit: April 03, 2009, 04:49 AM by Coeluh »

yksyks

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 476
    • View Profile
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #7 on: April 03, 2009, 09:41 AM »
That's exactly how I'm using HotkeyP (again, sorry...), besides other functions. And I don't even need to know the scancode. But you require some eye candy, don't you? Then HotkeyP is out of luck, it's packed with features in lieu of graphical attractiveness.  :P

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #8 on: April 03, 2009, 10:02 PM »
off-topic perhaps, but some of the member avatars are sure getting weirder.. :huh:

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #9 on: April 04, 2009, 04:26 AM »
off-topic perhaps, but some of the member avatars are sure getting weirder.. :huh:
Haha don't you love them :)?

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #10 on: April 05, 2009, 09:37 AM »
I can't figure it out. Anyone?

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Very, very easy request: Show what key is pressed
« Reply #11 on: April 08, 2009, 08:11 PM »
 :) This topic has been discussed at lenths at the AutoHotkey forum. Try SKAN's scancode utility at http://www.autohotkey.com/forum/viewtopic.php?t=22881, or shaun's at http://www.autohotkey.com/forum/topic39574.html.

Skrommel