Restored from previous forum. Originally posted by Manolo.
Hi all,
I need change the values of keys in the keyboard for special use.
For example:
If KeyAscii = 13
KeyAscii = 0
SendKeys "{tab}"
Endif
I need change key tab for key enter.
Thanks,
Manolo
How can change the values from keys???
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by El_Choni.
Hi Manolo,
It would be chr(9) for chr(10) (or chr(13)+chr(10), you never know with Windows). That is, "If #PB_Key_Tab, SendKeys(hwnd, #PB_Key_Return code). There's a SendKeys example in the Forum. Anyway, if you explain in detail what you need I could post example code.
Bye,
El_Choni
Hi Manolo,
It would be chr(9) for chr(10) (or chr(13)+chr(10), you never know with Windows). That is, "If #PB_Key_Tab, SendKeys(hwnd, #PB_Key_Return code). There's a SendKeys example in the Forum. Anyway, if you explain in detail what you need I could post example code.
Bye,
El_Choni