Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with key (...|0x40000)
#1
In one of my XP computers some key commands do not work, for example :
Quote:Macro temp
Code:
Copy      Help
key (72|0x40000) ;; it works H
key (78|0x40000) ;; it works N
key (84|0x40000) ;; it works T
key (85|0x40000) ;; it does not work !
key (115|0x40000) ;; it works s
key (116|0x40000) ;; it doesnot work !

Does any body experienced such a peculiar problem?

Regards
SImos
#2
I found a solution to overcome this problem using Alt+numpad :

Macro temp
Code:
Copy      Help
key (84|0x40000) ;; it works T
key (85|0x40000) ;; it doen not work U
key+ AN8N5 ;; Now it works U.
#3
On my computer works.

When flag 0x40000 specified, QM sends VK_PACKET key, which is used for Unicode characters.

This code is similar as QM uses:
Code:
Copy      Help
keybd_event 0 85 KEYEVENTF_UNICODE 0
works?

How when QM triggers are disabled?
How when using or not using low level hook (Options -> Triggers)?
#4
Dear Gintaras,

Many thanks for troubleshooting my problem. As already reported I am using 5 personal computer and it is only one that it behaves in a such peculiar way. I will try to debug according to your advice tomorrow morning and I will let you know accordingly.

Best regards
Simos
#5
Dear Gintaras,

I checked whatever you proposed but in that particular PC it didnot work.

Regards, Simos
#6
Surprising : Incidentally (actually by mistake) I found that key (85|0x00100) works perfectly !

Could you please advise?
#7
Maybe this Windows feature (sending Unicode characters like keys using VM_PACKET key) is used only for characters >0x100. It is not documented.

For characters in range 0x100-0xffff QM uses Alt+Numpad.

Macro Macro1379
Code:
Copy      Help
spe
key CE
int c
for c 0x100 0x200
,key F"{c-0x100}" (c) Y

#ret


Forum Jump:


Users browsing this thread: 1 Guest(s)