| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Writes a key code into the keyboard buffer at a specified time.
Keytime( <nKey>, <cTime> ) --> lSuccess
When the hour is set to 99, the key is written every full hour. A time string of "15:99:00" will place a key every minute between 3:00pm and 3:59pm.
The function returns .T. (true) when the timer is successfully activated, otherwise .F. (false).
Note: when the function is called without a parameter, the timer is deactivated.
| See also: | HB_IdleAdd(), KEYBOARD, KeySec() |
| Category: | CT:Miscellaneous , Keyboard functions , Miscellaneous functions |
| Source: | ct\keytime.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com