On Sep 2, 2006, at 2:00 PM, Aubrey Todd wrote:

Hi,

I have a simple program that lets you press a key and it displays the ASCII number for the key plus the Control key, Option key, Command key, or Shift key if one of them is also pressed. I would like to use the command Keyboard.keyname(keycode) to give the special names some keys have, but I cannot get it to work.

For eample: if I press $, the $ is displayed in the input field, 36 is the ASCII code, Shift key is displayed, but the field for keyname displays 'Return' when keycode is the ASCII value of the key pressed.

Obviously I am doing something wrong, but I have no clue what that is. Could someone please give me a hint?

Provide an example of your code that can be used to test with. It may be a bug or a coding error on your part but it is hard to guess at with what you have provided so far.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to