Setup guide
Close()
Closes the window.
SwitchTo()
Puts the window into foreground.
SetMousePosition(
x
,
y
)
Sets the mouse cursor relative to the window's upper left corner.
Arguments
x,y
Required. x and y coordinate relative to the window's upper left corner
Remarks
Click theicon in the scripteditor's toolbar to insert a SetMousePosition method with proper coordinates
automatically.
Keystroke(
sKeys
)
Type into the window
Arguments
sKeys
Required. String containing keystrokes. See Keystroke actions.
Remarks
Click theicon in the scripteditor's toolbar to insert keystrokes.
KeyDown(
eVkCode
)
KeyUp(
eVkCode
)
Presses a key and holds it down (KeyDown) or releases a key (KeyUp).
Arguments
eVkCode
Required. Virtual KeyCode value from the eVkCodes enumeration.