UVK scripting commands -  ->SendText()

Show menu



->SendText( textToSend , ClassNN/ID , winIndex )


Send text to a control or a window.


textToSend - The keystrokes to send to the control. Can be either keyboard or mouse input.
ClassNN/ID - The control's ClassNN, Advanced mode, ID or text. Leave blank to send to the parent window instead
winIndex (optional) - The index of the window. Default is the last ->WaitWindow() or ->WaitWindow2().


Optional parameters do not need to be specified.
This function must be called after at least one call to ->WaitWindow() or ->WaitWindow2(), otherwise it will fail.
The text to send does NOT need to be enclosed in quotes or double quotes.



Back to the list



Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top