[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Char Event (OpenInsight Specific) ==== === At 12 DEC 2001 12:26:03PM S Bell wrote: === {{tag>"OpenInsight Specific"}} This script didn't work for me. Can someone explain how this Char Event works? What's a better way to code this? The form is like ... Game#: xxx Book#: xxxxxx Agent# xxxxxx Prompt4: x User wants to be able to Key 15 digits and be at Prompt4 and not have to hit return at all. DECLARE FUNCTION SEND_EVENT, SET_PROPERTY, *debug inupt=GET_PROPERTY(@WINDOW:".GAME","TEXT") NextField=RTCW_RTC_FILE.BOOK_NUMBER" NextField=QUOTE(NextField) X=Len(inupt) If X=3 then Next_Prompt=SEND_EVENT(NextField,"GOTFOCUS") End RETURN 1 ---- === At 12 DEC 2001 01:37PM Oystein Reigem wrote: === This statement is rubbish. Leave it out: [i]NextField=QUOTE(NextField)[/i] - Oystein - [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=E6E5104F95A9E93185256B20005FC4F0|View this thread on the forum...]]