Core Function ControlMove
From Sputnik Wiki
ControlMove ( <title>, <text>, <controlID>, <x>, <y>, <width>, <height>, <speed> )
Contents |
Description
Moves a control within a window .
Parameters
Title
The title of the window to access.
Text
The text of the window to access.
controlID
The control to interact with.
x
X coordinate to move to.
y
Y coordinate to move to.
width
Optional; New width of the window.
height
Optional; New height of the window.
speed
Optional; Speed to move the control into position 0 being instant and 1 being fast and 100 being slowest.
Default 0.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None.
Example
Run("notepad.exe"); WinWait("Untitled -"); sleep(100); ControlMove("Untitled -", "", "MDIClient1", 50, 50, 200, 200);