Method Keyboard.SetLocalCharacterTypeDelay
Sets delay between each character typed in milliseconds for local applications: adds time delay in milliseconds between typing each character. Default is zeroUsage
Function
ZAP.Keyboard.SetLocalCharacterTypeDelay(
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.SetLocalCharacterTypeDelay 200
' override default settings
Zap.Keyboard.SetLocalCharacterTypeDelay 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.SetLocalCharacterTypeDelay(200);
// override default settings
Zap.Keyboard.SetLocalCharacterTypeDelay(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