Chg KEY_DOWN in OnEvent
A Snippet from: hagchr
//press a let>event_char_test=a let>teller=0 let>testflag=false OnEvent>KEY_DOWN,%event_char_test%,0,testing SRT>testing let>teller=0 MessageModal>ok!! let>testflag=true END>testing label>loop if>testflag=true //Disable old OnEvent by leaving out Subroutine OnEvent>KEY_DOWN,%event_char_test%,0, //press t ... let>event_char_test=t //Reset it with new event OnEvent>KEY_DOWN,%event_char_test%,0,testing let>testflag=false endif if>teller=0 Message>Press %event_char_test% endif let>teller=teller+1 wait>0.01 goto>loopSelect the code above to paste into your macro. Or: View Raw Text
Link: http://www.mjtnet.com/snip.htm?g=5370e1845013a
Forum Embed Code - click to select all then copy (CTRL-C):
When pasting into the forum do NOT modify the script code or it will not match what is in the database - create a new snippet instead!