Jump to content

can't find a hex of a keyboard key


Alexxander
 Share

Go to solution Solved by DW1,

Recommended Posts

Try "0xDE"

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

if you are using _IsPressed then why do you need hex?

_IsPressed("C0") gives you the return you want.

 

i don't know what it is called they called it in the help file $sHexKey

anyway "c0" is not the key im searching for "c0" is for   `

                                                                im looking for  '

Link to comment
Share on other sites

i don't know what it is called they called it in the help file $sHexKey

anyway "c0" is not the key im searching for "c0" is for   `

                                                                im looking for  '

 

ولك يلعن اللي طَرَقك فضحتنا

IT IS THE SAME ONE >_<

the list of sHexKey is included in the help file.

Edited by EKY32

[font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]

Link to comment
Share on other sites

Try one of the VK_OEM_X, it depends of your keyboard layout what is the right one.

VK_OEM_1 0xBA
VK_OEM_2 0xBF
VK_OEM_3 0xC0
VK_OEM_4 0xDB
VK_OEM_5 0xDC
VK_OEM_6 0xDD
VK_OEM_7 0xDE
VK_OEM_8 0xDF

In US standard keyboards 0xDE should be the right one... in my Spanish Keyboard it is 0xDB

Cheers,

sahsanu

Edited by sahsanu
Link to comment
Share on other sites

انت ما بدك تحل عني لا بالفيس ولا هون ؟

 

no this character '    is not included in the help file

 

Ah yes you got the answer now,

 

<snip>

 

لا ترد على هذا البوست ويصير سياسي أحسن ما يقلعونا ثنيناتنا من المنتدى :sweating:

Edited by Melba23
Removed political statement

[font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]

Link to comment
Share on other sites

_IsPressed("DE")

EDIT: sahsanu beat me to it

 

In fact BrewManNH beat all of us one hour ago ;), seems Alexxander thought it should use 0xDE literally

_IsPressed("0xDE")

instead of

_IsPressed("DE")

Anyway, as I said, it depends of your keyboard layout, for my spanish keyboard 0xDB is the right one

_IsPressed("DB")

Virtual-Key Codes

Cheers,

sahsanu

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...