Jump to content


Photo
- - - - -

ASCII Code for hotkey


8 replies to this topic

#1 scminter

scminter

    Member

  • Members
  • PipPip
  • 21 posts
  • Gender:Male

Posted 04 October 2005 - 10:32 PM

Attempting to write a macro using WRQ's Reflection software to run a pro-iv screen which requires the user to enter Alt + M to open a window.

How can I get the ASCII code pro-iv is expecting for this hotkey combination so I can program the macro?

#2 Chris Pepper

Chris Pepper

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 369 posts
  • Gender:Male
  • Location:United Kingdom

Posted 05 October 2005 - 10:37 AM

Warning - only do this on Character mode systems!

Run the $TERM screen. Look at the TYPE assigned to the TERM-ID "DEFAULT". (This is 99.9% the one you need unless someone is being clever).

Run the $CRT screen. Put this into Lookup mode (or ONLY use Return to move between the fields).

Look on the Second Screen. Against the WINDOW prompt you'll see the string of Hex characters that ProIV will interpret as the user requesting a Window.

HTH

Or do you already know that ALT-M is what ProIV is expecting, and you just want to know what character ALT-M is generating?

Edited by Chris Pepper, 05 October 2005 - 10:38 AM.


#3 scminter

scminter

    Member

  • Members
  • PipPip
  • 21 posts
  • Gender:Male

Posted 05 October 2005 - 12:58 PM

I already know the hex code for window. I don't know the hex

#4 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 05 October 2005 - 01:40 PM

Keyboard scancodes

#5 scminter

scminter

    Member

  • Members
  • PipPip
  • 21 posts
  • Gender:Male

Posted 06 October 2005 - 02:46 PM

The table you directed me to shows the decimal value "50" for A

#6 scminter

scminter

    Member

  • Members
  • PipPip
  • 21 posts
  • Gender:Male

Posted 06 October 2005 - 02:47 PM

The table you directed me to shows the decimal value "50" for A

#7 scminter

scminter

    Member

  • Members
  • PipPip
  • 21 posts
  • Gender:Male

Posted 06 October 2005 - 05:54 PM

What key is pro-iv seeing when a

#8 Rick San Soucie

Rick San Soucie

    Member

  • Members
  • PipPip
  • 36 posts
  • Gender:Male
  • Location:Dallas, United States

Posted 07 October 2005 - 03:34 AM

I found a list of scancodes. I have no idea if they will help:


http://www.glue.umd....8c/scancode.htm

#9 Richard Bassett

Richard Bassett

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 696 posts
  • Location:Rural France

Posted 10 October 2005 - 08:08 AM

What Chris said.
Just look at the $CRT terminal type definition in use.
Scancodes are for physical keyboards, I don't see that could have any relevance.
Nothing's as simple as you think



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users