| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== PRESS (put characters in the buffer) ====== | [[pragma control pragma settings from source.htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[presskey put a keystroke in the buffer .htm|{{btn_next_n.gif|Next page}}]] | | || **PRESS(**//string//**)** {{blk2blue.jpg|blk2blue.jpg}} | **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:** [[presskey put a keystroke in the buffer .htm|PRESSKEY]]