Core Function ControlSetText

From Sputnik Wiki
Jump to: navigation, search
ControlSetText ( <title>, <text>, <controlID>, <text> )

Contents

Description

Sets text of a control.

Parameters

Title

The title of the window to access.

Text

The text of the window to access.

controlID

The control to interact with.

text

The new text to be set into the control.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

None.

Example

Run("notepad.exe");
WinWait("Untitled -");
sleep(100);
ControlSetText("Untitled -", "", "Edit1", "New Text Here" );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox