Suspends script execution until the host screen is ready for keyboard input and the cursor is at the specified location.
If ExtraWaitVal is a value in the range of 1, 2, 3, … ,50 then script execution is suspended until the host machine sends the specified number of screen writes containing the keyboard restore/unlock command.
If ExtraWaitVal is greater than 50, the script execution is suspended until the specified number of milliseconds have transpired.
EMWriteScreen "list", 19, 7 EMSendKey "@E" ResultCode = EMWaitCursor( 10, 4, 16, 3 ) 'wait for 3 keyboard restores If ( ResultCode != 0 ) Then MsgBox "Timeout Error in Script!", 48 End If
EMWriteScreen "list", 19, 7 EMSendKey "@E" ResultCode = EMWaitCursor( -1 ) 'use Speed Control to determine script delay If ( ResultCode != 0 ) Then MsgBox "Timeout Error in Script!", 48 End If