Hi,

I want to create a shortcut with hotkeys. there is no information avaiable for interger combination for different keys.
any suggestion plz.

Cheers
Jimit
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
What you need to discover are the hex codes of the relevant keys, add them together, and then convert them to an integer.

Example: If the hotkey combination is CTRL+ALT+A, then the integer value will be 1601. CTRL = 0x200h, ALT = 0x400h, so that gives you 0x600h so far. The hex value for A is 0x41h. Thats a total of 0x641h. Using calc.exe to convert gives you 1601 decimal.

Sorted guv!
Answered 02/17/2006 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity