press_put_characters_in_the_buffer_.htm
Navigation: Language Reference > 13 - Built-in Functions >====== PRESS (put characters in the buffer) ====== | |
PRESS(string)
PRESS | Places characters in the keyboard input buffer. |
string | A string constant, variable, or expression. |
PRESS places characters in the Windows keyboard input buffer. The entire string is placed in the buffer. Once placed in the keyboard buffer, the string is processed just as if the user had typed in the data.
Example:
IF LocalRequest = AddRecord !On the way into a memo on adding a record
TempString = FORMAT(TODAY(),@D1) & ' ' & FORMAT(CLOCK(),@T4)
PRESS(TempString) !Pre-load first line of memo with date and time
END
See Also:
press_put_characters_in_the_buffer_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1