Page 1 of 1

Posted: Thu Feb 14, 2002 12:18 pm
by BackupUser
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

Posted: Thu Feb 14, 2002 2:22 pm
by BackupUser
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