UVK scripting commands -  ->SendText()

Show menu

->SendText()

Sintax:

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

Description:

Send text to a control or a window.

Parameters:

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().

Remarks:

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.

Example:

 

Back to the list

 


 

Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top