Method Keyboard.SetRemoteCharacterTypeDelay
Sets delay between each character typed in milliseconds for remote connections (M-RUN / ZAP Viewer): adds time delay in milliseconds between typing each character. Default is zeroUsage
Function
ZAP.Keyboard.SetRemoteCharacterTypeDelay(
Integer MsDelay,
Boolean OverrideDefaultSettings [Optional]
)
Parameters
MsDelay
Type: Integer
Delay in milliseconds
OverrideDefaultSettings (optional)
Type: Boolean
Default Value: False
Override default settings
Returns
No return value
Example
VBScript
Zap.Keyboard.SetRemoteCharacterTypeDelay 200
' override default settings
Zap.Keyboard.SetRemoteCharacterTypeDelay 200, True
Application("Demo").View("DemoView").Object("DemoInput").Type "test"
' use DelayIntervalMS parameter and ignore local character type delay
Application("Demo").View("DemoView").Object("DemoInput").Type "test", 100
JavaScript
Zap.Keyboard.SetRemoteCharacterTypeDelay(200);
// override default settings
Zap.Keyboard.SetRemoteCharacterTypeDelay(200, true);
Application("Demo").View("DemoView").Object("DemoInput").Type("test");
// use DelayIntervalMS parameter and ignore local character type delay
Application("Demo").View("DemoView").Object("DemoInput").Type("test", 100);
Comment
Override default settings