public class AutoItX extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.jacob.activeX.ActiveXComponent |
autoItX
The AutoItX Component.
|
static String |
OPT_CARET_COORD_MODE
Sets the way coords are used in the caret functions, either absolute
coords or coords relative to the current active window:
0 = relative coords to the active window, 1 = absolute screen coordinates (default), 2 = relative coords to the client area of the active window. |
static String |
OPT_MOUSE_CLICK_DELAY
Alters the length of the brief pause in between mouse clicks.
|
static String |
OPT_MOUSE_CLICK_DOWN_DELAY
Alters the length of the brief pause in between mouse clicks.
|
static String |
OPT_MOUSE_CLICK_DRAG_DELAY
Alters the length of the brief pause at the start and end of a mouse
drag operation.
|
static String |
OPT_MOUSE_COORD_MODE
Sets the way coords are used in the mouse functions, either absolute
coords or coords relative to the current active window:
0 = relative coords to the active window 1 = absolute screen coordinates (default) 2 = relative coords to the client area of the active window |
static String |
OPT_PIXEL_COORD_MODE
Sets the way coords are used in the mouse functions, either absolute
coords or coords relative to the current active window:
0 = relative coords to the active window 1 = absolute screen coordinates (default) 2 = relative coords to the client area of the active window |
static String |
OPT_SEND_ATTACH_MODE
Sets the way coords are used in the pixel functions, either absolute
coords or coords relative to the current active window:
0 = relative coords to the active window 1 = absolute screen coordinates (default) 2 = relative coords to the client area of the active window |
static String |
OPT_SEND_CAPSLOCK_MODE
Specifies if AutoIt attaches input threads when using then Send()
function.
|
static String |
OPT_SEND_KEY_DELAY
Specifies if AutoIt should store the state of capslock before a
Send function and restore it afterwards.
|
static String |
OPT_SEND_KEY_DOWN_DELAY
Alters the length of time a key is held down before released during a
keystroke.
|
static String |
OPT_WIN_DETECT_HIDDEN_TEXT
Specifies if hidden window text can be "seen" by the window matching functions.
|
static String |
OPT_WIN_SEARCH_CHILDREN
Allows the window search routines to search child windows as well as top-level windows.
|
static String |
OPT_WIN_TEXT_MATCH_MODE
Alters the method that is used to match window text during search operations.
|
static String |
OPT_WIN_TITLE_MATCH_MODE
Alters the method that is used to match window titles during search operations.
|
static String |
OPT_WIN_WAIT_DELAY
Alters how long a script should briefly pause after a successful window-related operation.
|
static int |
SW_HIDE
Minimizes the specified window and activates the next top-level window
in the Z order.
|
static int |
SW_MAXIMIZE
Maximizes the specified window.
|
static int |
SW_RESTORE
Activates and displays the window.
|
static int |
SW_SHOW
Activates the window and displays it in its current size and position.
|
static int |
SW_SHOWDEFAULT
Sets the show state based on the SW_ value specified by the program
that started the application.
|
static int |
SW_SHOWMAXIMIZED
Activates the window and displays it as a maximized window.
|
static int |
SW_SHOWMINIMIZED
Activates the window and displays it as a minimized window.
|
static int |
SW_SHOWMINNOACTIVE
Displays the window as a minimized window.
|
static int |
SW_SHOWNA
Displays the window in its current size and position.
|
static int |
SW_SHOWNOACTIVATE
Displays a window in its most recent size and position.
|
static int |
SW_SHOWNORMAL
Activates and displays a window.
|
| Constructor and Description |
|---|
AutoItX()
Initializes the AutoItX Jacob COM object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
autoItSetOption(String option,
String param)
Changes the operation of various AutoIt functions/parameters.
|
void |
blockInput(boolean disableInput)
Disable/enable the mouse and keyboard.
|
boolean |
cdTray(String drive,
String status)
Opens or closes the CD tray.
|
String |
clipGet()
Retrieves text from the clipboard.
|
void |
clipPut(String value)
Writes text to the clipboard.
|
protected boolean |
controlBool(String title,
String text,
String control,
String function) |
boolean |
controlClick(String title,
String text,
String controlID)
Sends a mouse click command to a given control.
|
boolean |
controlClick(String title,
String text,
String controlID,
String button)
Sends a mouse click command to a given control.
|
boolean |
controlClick(String title,
String text,
String controlID,
String button,
int clicks)
Sends a mouse click command to a given control.
|
boolean |
controlClick(String title,
String text,
String controlID,
String button,
int clicks,
int x,
int y)
Sends a mouse click command to a given control.
|
void |
controlCommandAddString(String title,
String text,
String control,
String string)
Adds a string to the end in a ListBox or ComboBox
|
void |
controlCommandCheck(String title,
String text,
String control)
Checks radio or check Button
|
String |
controlCommandCurrentTab(String title,
String text,
String control)
Returns the current Tab shown of a SysTabControl32.
|
void |
controlCommandDeleteString(String title,
String text,
String control,
String occurrance)
Deletes a string according to occurrence in a ListBox or ComboBox.
|
void |
controlCommandEditPaste(String title,
String text,
String control,
String string)
Pastes the 'string' at the Edits caret position.
|
int |
controlCommandFindString(String title,
String text,
String control,
String string)
Returns occurrence ref of the exact string in a ListBox or ComboBox.
|
int |
controlCommandGetCurrentCol(String title,
String text,
String control)
Returns the column # where the caret is in an Edit
|
int |
controlCommandGetCurrentLine(String title,
String text,
String control)
Returns the line # where the caret is in an Edit
|
String |
controlCommandGetCurrentSelection(String title,
String text,
String control,
int charLength)
Sets selection according to string in a ListBox or ComboBox
|
int |
controlCommandGetLineCount(String title,
String text,
String control)
Returns the column # where the caret is in an Edit
|
String |
controlCommandGetSelected(String title,
String text,
String control,
int charLength)
Returns selected text of an Edit.
|
void |
controlCommandHideDropDown(String title,
String text,
String control)
Undrops a ComboBox
|
boolean |
controlCommandIsChecked(String title,
String text,
String control)
Checks whether a control is checked.
|
boolean |
controlCommandIsEnabled(String title,
String text,
String control)
Checks whether a control is enabled.
|
boolean |
controlCommandIsVisible(String title,
String text,
String control)
Checks whether a control is visible.
|
void |
controlCommandSelectString(String title,
String text,
String control,
String string)
Sets selection according to string in a ListBox or ComboBox
|
void |
controlCommandSetCurrentSelection(String title,
String text,
String control,
String occurrance)
Sets selection to occurrence ref in a ListBox or ComboBox.
|
void |
controlCommandShowDropdown(String title,
String text,
String control)
Drops a ComboBox
|
void |
controlCommandTabLeft(String title,
String text,
String control)
Moves to the next tab to the right of a SysTabControl32
|
void |
controlCommandTabRight(String title,
String text,
String control)
Moves to the next tab to the right of a SysTabControl32
|
void |
controlCommandUncheck(String title,
String text,
String control)
Un-checks radio or check Button
|
boolean |
controlDisable(String title,
String text,
String control)
Disables or "grays-out" a control.
|
boolean |
controlEnable(String title,
String text,
String control)
Enables a "grayed-out" control.
|
boolean |
controlFocus(String title,
String text,
String control)
Sets input focus to a given control on a window.
|
String |
controlGetFocus(String title)
Returns the ControlRef# of the control that has keyboard focus within a
specified window.
|
String |
controlGetFocus(String title,
String text)
Returns the ControlRef# of the control that has keyboard focus within
a specified window.
|
String |
controlGetHandle(String title,
String text,
String controlID)
Retrieves the internal handle of a control.
|
int |
controlGetPosHeight(String title,
String text,
String controlID)
Retrieves the position and size of a control relative to it's window.
|
int |
controlGetPosWidth(String title,
String text,
String controlID)
Retrieves the position and size of a control relative to it's window.
|
int |
controlGetPosX(String title,
String text,
String controlID)
Retrieves the position and size of a control relative to it's window.
|
int |
controlGetPosY(String title,
String text,
String controlID)
Retrieves the position and size of a control relative to it's window.
|
String |
controlGetText(String title,
String text,
String controlID)
Retrieves text from a control.
|
boolean |
controlHide(String title,
String text,
String controlID)
Hides a control.
|
protected int |
controlInt(String title,
String text,
String control,
String function) |
int |
controlListViewFindItem(String title,
String text,
String control,
String string,
String subitem)
Returns the item index of the string.
|
int |
controlListViewGetItemCount(String title,
String text,
String control)
Returns the number of list items.
|
String |
controlListViewGetSelected(String title,
String text,
String control)
Returns a string containing the item index of selected items.
|
String[] |
controlListViewGetSelectedArray(String title,
String text,
String control)
Returns a string containing the item index of selected items.
|
int |
controlListViewGetSelectedCount(String title,
String text,
String control)
Returns the number of items that are selected.
|
int |
controlListViewGetSubItemCount(String title,
String text,
String control)
Returns the number of subitems.
|
String |
controlListViewGetText(String title,
String text,
String control,
String item,
String subitem)
Returns the text of a given item/subitem.
|
boolean |
controlListViewIsSelected(String title,
String text,
String control,
String item)
Returns 1 if the item is selected, otherwise returns 0.
|
void |
controlListViewSelect(String title,
String text,
String control,
String from,
String to)
Selects one or more items.
|
void |
controlListViewSelectAll(String title,
String text,
String control,
String from)
Selects all items.
|
void |
controlListViewSelectAll(String title,
String text,
String control,
String from,
String to)
Selects all items.
|
void |
controlListViewSelectClear(String title,
String text,
String control)
Clears the selection of all items.
|
void |
controlListViewSelectInvert(String title,
String text,
String control)
Inverts the current selection.
|
void |
controlListViewSelectViewChange(String title,
String text,
String control,
String view)
Changes the current view.
|
boolean |
controlMove(String title,
String text,
String control,
int x,
int y)
Moves a control within a window.
|
boolean |
controlMove(String title,
String text,
String control,
int x,
int y,
int width,
int height)
Moves a control within a window.
|
boolean |
controlSend(String title,
String text,
String control,
String string)
Sends a string of characters to a control.
|
boolean |
controlSend(String title,
String text,
String control,
String string,
boolean sendRawKeys)
Sends a string of characters to a control.
|
boolean |
ControlSetText(String title,
String text,
String control,
String string)
Sets text of a control.
|
boolean |
controlShow(String title,
String text,
String control)
Shows a control that was hidden.
|
protected String |
controlString(String title,
String text,
String control,
String function) |
boolean |
controlTreeViewBoolean(String title,
String text,
String control,
String command,
String option,
String option2) |
void |
controlTreeViewCheck(String title,
String text,
String control,
String item)
Checks an item (if the item supports it).
|
void |
controlTreeViewCollapse(String title,
String text,
String control,
String item)
Collapses an item to hide its children.
|
Boolean |
controlTreeViewExists(String title,
String text,
String control,
String item)
Checks if an item exists
|
void |
controlTreeViewExpand(String title,
String text,
String control,
String item)
Expands an item to show its children.
|
int |
controlTreeViewGetItemCount(String title,
String text,
String control,
String item)
Returns the number of children for a selected item.
|
int |
controlTreeViewGetSelectedItemIndex(String title,
String text,
String control)
Returns the item reference of the current selection using the index reference of the item.
|
String |
controlTreeViewGetSelectedItemText(String title,
String text,
String control)
Returns the item reference of the current selection using the text reference of the item.
|
String |
controlTreeViewGetText(String title,
String text,
String control,
String item)
GetText
|
int |
controlTreeViewIsChecked(String title,
String text,
String control)
Returns the state of an item.
|
void |
controlTreeViewSelect(String title,
String text,
String control,
String item)
Selects an item.
|
void |
controlTreeViewUncheck(String title,
String text,
String control,
String item)
Uncheck an item.
|
protected com.jacob.com.Variant |
controlVariant(String title,
String text,
String control,
String function) |
boolean |
driveMapAdd(String device,
String remote)
Maps a network drive.
|
boolean |
driveMapAdd(String device,
String remote,
int flags)
Maps a network drive.
|
boolean |
driveMapAdd(String device,
String remote,
int flags,
String username,
String password)
Maps a network drive.
|
boolean |
driveMapDelete(String device)
Disconnects a network drive.
|
String |
driveMapGet(String device)
The device (drive or printer) letter to query.
|
int |
getError()
Value of the error flag.
|
String |
getVersion()
The AutoItX version.
|
boolean |
iniDelete(String filename,
String section)
Deletes a value from a standard format .ini file.
|
boolean |
iniDelete(String filename,
String section,
String key)
Deletes a value from a standard format .ini file.
|
String |
iniRead(String filename,
String section,
String key,
String defaultVal)
Reads a value from a standard format .ini file.
|
Boolean |
iniWrite(String filename,
String section,
String key,
String value)
Writes a value to a standard format .ini file.
|
boolean |
isAdmin()
Checks if the current user has administrator privileges.
|
void |
mouseClick(String button,
int clicks,
int speed)
Perform a mouse click operation.
|
void |
mouseClick(String button,
int x,
int y,
int clicks,
int speed)
Perform a mouse click operation.
|
void |
mouseClickDrag(String button,
int x,
int y,
int x2,
int y2)
Perform a mouse click and drag operation.
|
void |
mouseClickDrag(String button,
int x,
int y,
int x2,
int y2,
int speed)
Perform a mouse click and drag operation.
|
void |
mouseDown(String button)
Perform a mouse down event at the current mouse position.
|
int |
mouseGetCursor()
Returns a cursor ID Number of the current Mouse Cursor.
|
int |
mouseGetPosX()
Retrieves the current X position of the mouse cursor.
|
int |
mouseGetPosY()
Retrieves the current Y position of the mouse cursor.
|
boolean |
mouseMove(int x,
int y)
Moves the mouse pointer.
|
boolean |
mouseMove(int x,
int y,
int speed)
Moves the mouse pointer.
|
void |
mouseUp(String button)
Perform a mouse up event at the current mouse position.
|
void |
mouseWheel(String direction)
Moves the mouse wheel up or down.
|
void |
mouseWheel(String direction,
int clicks)
Moves the mouse wheel up or down.
|
double |
pixelChecksum(int left,
int top,
int right,
int bottom)
Generates a checksum for a region of pixels.
|
double |
pixelChecksum(int left,
int top,
int right,
int bottom,
int step)
Generates a checksum for a region of pixels.
|
float |
pixelGetColor(int x,
int y)
Returns a pixel color according to x,y pixel coordinates.
|
long[] |
pixelSearch(int left,
int top,
int right,
int bottom,
int color)
Searches a rectangle of pixels for the pixel color provided.
|
long[] |
pixelSearch(int left,
int top,
int right,
int bottom,
int color,
int shadeVariation,
int step)
Searches a rectangle of pixels for the pixel color provided.
|
void |
processClose(String process)
Terminates a named process.
|
int |
processExists(String process)
Checks to see if a specified process exists.
|
boolean |
processSetPriority(String process,
int priority)
Changes the priority of a process
|
boolean |
processWait(String process)
Pauses script execution until a given process exists.
|
boolean |
processWait(String process,
int timeout)
Pauses script execution until a given process exists.
|
boolean |
processWaitClose(String process)
Pauses script execution until a given process exists.
|
boolean |
processWaitClose(String process,
int timeout)
Pauses script execution until a given process exists.
|
int |
regDeleteKey(String keyname)
Deletes a key from the registry.
|
int |
regDeleteVal(String keyname)
Deletes a value from the registry.
|
String |
regEnumKey(String keyname,
int instance)
Reads the name of a subkey according to it's instance.
|
String |
regEnumVal(String keyname,
int instance)
Reads the name of a value according to it's instance.
|
String |
regRead(String keyname,
String valueName)
Reads the name of a value according to it's instance.
|
boolean |
regWrite(String keyname,
String valueName,
String type,
String value)
Creates a key or value in the registry.
|
int |
run(String filename)
Runs an external program.
|
int |
run(String filename,
String workingDirectory)
Runs an external program.
|
int |
run(String filename,
String workingDirectory,
int flag)
Runs an external program.
|
int |
runAsSet(String username,
String domain,
String password)
Initialize a set of user credentials to use during Run and RunWait
operations.
|
int |
runAsSet(String username,
String domain,
String password,
int options)
Initialize a set of user credentials to use during Run and RunWait
operations.
|
int |
runWait(String filename)
Runs an external program and pauses script execution until the program finishes.
|
int |
runWait(String filename,
String workingDirectory)
Runs an external program and pauses script execution until the program finishes.
|
int |
runWait(String filename,
String workingDirectory,
int flag)
Runs an external program and pauses script execution until the program finishes.
|
void |
send(String keys)
Sends simulated keystrokes to the active window.
|
void |
send(String keys,
boolean isRaw)
Sends simulated keystrokes to the active window.
|
String |
setOption(String option,
String param)
Changes the operation of various AutoIt functions/parameters.
|
boolean |
shutdown(int code)
Shuts down the system.
|
void |
sleep(int delay)
Pause script execution.
|
String |
statusbarGetText(String title)
Retrieves the text from a standard status bar control.
|
String |
StatusbarGetText(String title,
String text)
Retrieves the text from a standard status bar control.
|
String |
statusbarGetText(String title,
String text,
int part)
Retrieves the text from a standard status bar control.
|
void |
toolTip(String text)
Creates a tooltip anywhere on the screen.
|
void |
toolTip(String text,
int x,
int y)
Creates a tooltip anywhere on the screen.
|
void |
winActivate(String title)
Activates (gives focus to) a window.
|
void |
winActivate(String title,
String text)
Activates (gives focus to) a window.
|
void |
winActive(String title)
Checks to see if a specified window exists and is currently active.
|
void |
winActive(String title,
String text)
Checks to see if a specified window exists and is currently active.
|
void |
winClose(String title)
Closes a window.
|
void |
winClose(String title,
String text)
Closes a window.
|
boolean |
winExists(String title)
Checks to see if a specified window exists.
|
boolean |
winExists(String title,
String text)
Checks to see if a specified window exists.
|
int |
winGetCaretPosX()
Returns the coordinates of the caret in the foreground window
|
int |
winGetCaretPosY()
Returns the coordinates of the caret in the foreground window
|
String |
winGetClassList(String title,
String text)
Retrieves the classes from a window.
|
int |
winGetClientSizeHeight(String title)
Retrieves the size of a given window's client area.
|
int |
winGetClientSizeHeight(String title,
String text)
Retrieves the size of a given window's client area.
|
int |
winGetClientSizeWidth(String title)
Retrieves the size of a given window's client area.
|
int |
winGetClientSizeWidth(String title,
String text)
Retrieves the size of a given window's client area.
|
String |
winGetHandle(String title)
Retrieves the internal handle of a window.
|
String |
winGetHandle(String title,
String text)
Retrieves the internal handle of a window.
|
int |
winGetPosHeight(String title)
Retrieves the position and size of a given window.
|
int |
winGetPosHeight(String title,
String text)
Retrieves the position and size of a given window.
|
int |
winGetPosWidth(String title)
Retrieves the position and size of a given window.
|
int |
winGetPosWidth(String title,
String text)
Retrieves the position and size of a given window.
|
int |
winGetPosX(String title)
Retrieves the position and size of a given window.
|
int |
winGetPosX(String title,
String text)
Retrieves the position and size of a given window.
|
int |
winGetPosY(String title)
Retrieves the position and size of a given window.
|
int |
winGetPosY(String title,
String text)
Retrieves the position and size of a given window.
|
String |
winGetProcess(String title)
Retrieves the Process ID (PID) associated with a window.
|
String |
winGetProcess(String title,
String text)
Retrieves the Process ID (PID) associated with a window.
|
int |
winGetState(String title)
Retrieves the state of a given window.
|
int |
winGetState(String title,
String text)
Retrieves the state of a given window.
|
String |
winGetText(String title)
Retrieves up to 64KB of text from a window.
|
String |
winGetText(String title,
String text)
Retrieves up to 64KB of text from a window.
|
String |
winGetTitle(String title)
Retrieves the full title from a window.
|
String |
winGetTitle(String title,
String text)
Retrieves the full title from a window.
|
void |
winKill(String title)
Forces a window to close.
|
void |
winKill(String title,
String text)
Forces a window to close.
|
String[][] |
winList(String title)
Retrieves a list of windows.
|
String[][] |
winList(String title,
String text)
Retrieves a list of windows.
|
boolean |
winMenuSelectItem(String title,
String text,
String item)
Invokes a menu item of a window.
|
boolean |
winMenuSelectItem(String title,
String text,
String item,
String item2)
Invokes a menu item of a window.
|
boolean |
winMenuSelectItem(String title,
String text,
String item,
String item2,
String item3)
Invokes a menu item of a window.
|
boolean |
winMenuSelectItem(String title,
String text,
String item,
String item2,
String item3,
String item4,
String item5,
String item6,
String item7)
Invokes a menu item of a window.
|
void |
winMinimizeAll()
Minimizes all windows.
|
void |
winMinimizeAllUndo()
Undoes a previous WinMinimizeAll function.
|
void |
winMove(String title,
String text,
int x,
int y)
Moves and/or resizes a window.
|
void |
winMove(String title,
String text,
int x,
int y,
int width,
int height)
Moves and/or resizes a window.
|
void |
winSetOnTop(String title,
String text,
boolean isTopMost)
Change a window's "Always On Top" attribute.
|
void |
winSetState(String title,
String text,
int flag)
Shows, hides, minimizes, maximizes, or restores a window.
|
void |
winSetTitle(String title,
String text,
String newtitle)
Changes the title of a window.
|
boolean |
winSetTrans(String title,
String text,
int transparency)
Sets the transparency of a window.
|
boolean |
winWait(String title)
Pauses execution of the script until the requested window exists.
|
boolean |
winWait(String title,
String text)
Pauses execution of the script until the requested window exists.
|
boolean |
winWait(String title,
String text,
int timeout)
Pauses execution of the script until the requested window exists.
|
boolean |
winWaitActive(String title)
Pauses execution of the script until the requested window is active.
|
boolean |
winWaitActive(String title,
String text)
Pauses execution of the script until the requested window is active.
|
boolean |
winWaitActive(String title,
String text,
int timeout)
Pauses execution of the script until the requested window is active.
|
boolean |
winWaitClose(String title)
Pauses execution of the script until the requested window does not exist.
|
boolean |
winWaitClose(String title,
String text)
Pauses execution of the script until the requested window does not exist.
|
boolean |
winWaitClose(String title,
String text,
int timeout)
Pauses execution of the script until the requested window does not exist.
|
boolean |
winWaitNoActive(String title)
Pauses execution of the script until the requested window is not active.
|
boolean |
winWaitNoActive(String title,
String text)
Pauses execution of the script until the requested window is not active.
|
boolean |
winWaitNoActive(String title,
String text,
int timeout)
Pauses execution of the script until the requested window is not active.
|
protected com.jacob.activeX.ActiveXComponent autoItX
public static final int SW_MAXIMIZE
public static final int SW_HIDE
public static final int SW_RESTORE
public static final int SW_SHOW
public static final int SW_SHOWDEFAULT
public static final int SW_SHOWMAXIMIZED
public static final int SW_SHOWMINIMIZED
public static final int SW_SHOWMINNOACTIVE
public static final int SW_SHOWNA
public static final int SW_SHOWNOACTIVATE
public static final int SW_SHOWNORMAL
public static final String OPT_CARET_COORD_MODE
public static final String OPT_MOUSE_CLICK_DELAY
public static final String OPT_MOUSE_CLICK_DOWN_DELAY
public static final String OPT_MOUSE_CLICK_DRAG_DELAY
public static final String OPT_MOUSE_COORD_MODE
public static final String OPT_PIXEL_COORD_MODE
public static final String OPT_SEND_ATTACH_MODE
public static final String OPT_SEND_CAPSLOCK_MODE
public static final String OPT_SEND_KEY_DELAY
public static final String OPT_SEND_KEY_DOWN_DELAY
public static final String OPT_WIN_DETECT_HIDDEN_TEXT
public static final String OPT_WIN_SEARCH_CHILDREN
public static final String OPT_WIN_TEXT_MATCH_MODE
public static final String OPT_WIN_TITLE_MATCH_MODE
public static final String OPT_WIN_WAIT_DELAY
public String getVersion()
public int getError()
public String clipGet()
public void clipPut(String value)
value - The text to write to the clipboard.public boolean driveMapAdd(String device, String remote)
Doesn't always work
device - The device to map, for example "O:" or "LPT1:". If you
pass a blank string for this parameter a connection is made but not
mapped to a specific drive. If you specify "*" an unused drive letter
will be automatically selected.remote - The remote share to connect to in the form "\\server\share".public boolean driveMapAdd(String device, String remote, int flags, String username, String password)
device - The device to map, for example "O:" or "LPT1:".
If you pass a blank string for this parameter a connection
is made but not mapped to a specific drive.
If you specify "*" an unused drive letter will be automatically
selected.remote - The remote share to connect to in the form "\\server\share".flags - A combination of the following: 0 = default,
1 = Persistent mapping,
8 = Show authentication dialog if requiredusername - The usernamepassword - The passwordpublic boolean driveMapAdd(String device, String remote, int flags)
device - The device to map, for example "O:" or "LPT1:".
If you pass a blank string for this parameter a connection
is made but not mapped to a specific drive. If you specify
"*" an unused drive letter will be automatically selected.remote - The remote share to connect to in the form "\\server\share".flags - A combination of the following:0 = default,
1 = Persistent mapping, 8 = Show authentication dialog if requiredpublic boolean driveMapDelete(String device)
device - The device to disconnect, e.g. "O:" or "LPT1:".public String driveMapGet(String device)
device - The device to disconnect, e.g. "O:" or "LPT1:".public boolean iniDelete(String filename, String section, String key)
filename - The filename of the .ini file.section - The section name in the .ini file.key - The key name in the in the .ini file.
If no key name is given the entire section is deleted.public boolean iniDelete(String filename, String section)
filename - The filename of the .ini file.section - The section name in the .ini file.public String iniRead(String filename, String section, String key, String defaultVal)
filename - The filename of the .ini file.section - The section name in the .ini file.key - The key name in the in the .ini file.defaultVal - The default value to return if the requested key is not found.public Boolean iniWrite(String filename, String section, String key, String value)
filename - The filename of the .ini file.section - The section name in the .ini file.key - The key name in the in the .ini file.value - The value to write/change.public double pixelChecksum(int left,
int top,
int right,
int bottom,
int step)
left - Left coordinate of rectangle.top - Top coordinate of rectangle.right - Right coordinate of rectangle.bottom - Bottom coordinate of rectangle.step - Instead of checksumming each pixel use a value larger than
1 to skip pixels (for speed). E.g. A value of 2 will only
check every other pixel. Default is 1.public double pixelChecksum(int left,
int top,
int right,
int bottom)
left - Left coordinate of rectangle.top - Top coordinate of rectangle.right - Right coordinate of rectangle.bottom - Bottom coordinate of rectangle.public float pixelGetColor(int x,
int y)
x - x coordinate of pixel.y - y coordinate of pixel.public long[] pixelSearch(int left,
int top,
int right,
int bottom,
int color,
int shadeVariation,
int step)
left - left coordinate of rectangle.top - top coordinate of rectangle.right - right coordinate of rectangle.bottom - bottom coordinate of rectangle.color - Color value of pixel to find (in decimal or hex).shadeVariation - A number between 0 and 255 to indicate the allowed
number of shades of variation of the red, green,
and blue components of the colour.
Default is 0 (exact match).step - Instead of searching each pixel use a value larger than 1
to skip pixels (for speed). E.g. A value of 2 will only
check every other pixel. Default is 1.public long[] pixelSearch(int left,
int top,
int right,
int bottom,
int color)
left - left coordinate of rectangle.top - top coordinate of rectangle.right - right coordinate of rectangle.bottom - bottom coordinate of rectangle.color - Color value of pixel to find (in decimal or hex).public void send(String keys, boolean isRaw)
keys - The sequence of keys to send.isRaw - Changes how "keys" is processed:
true - Text contains special characters like + and ! to indicate SHIFT
and ALT key presses. false, keys are sent raw.public void send(String keys)
keys - The sequence of keys to send.public void toolTip(String text, int x, int y)
text - The text of the tooltip. (An empty string clears a displaying tooltip)x - The x,y position of the tooltip.y - The x,y position of the tooltip.public void toolTip(String text)
text - The text of the tooltip. (An empty string clears a displaying tooltip)public void blockInput(boolean disableInput)
disableInput - True = disable user input, false = re-enable it.public boolean cdTray(String drive, String status)
drive - The drive letter of the CD tray to control, in the format D:, E:, etc.status - Specifies if you want the CD tray to be open or closed: "open" or "closed"public boolean isAdmin()
public String autoItSetOption(String option, String param)
option - The option to change.param - The parameter (varies by option).public String setOption(String option, String param)
option - The option to change.param - The parameter (varies by option).public void mouseClick(String button, int x, int y, int clicks, int speed)
button - The button to click: "left", "right", "middle", "main",
"menu", "primary", "secondary".x - The x/y coordinates to move the mouse to.
If no x and y coords are given, the current position is used.y - The x/y coordinates to move the mouse to.
If no x and y coords are given, the current position is used.clicks - The number of times to click the mouse. Default is 1.speed - The speed to move the mouse in the range 1 (fastest) to 100 (slowest).
A speed of 0 will move the mouse instantly. Default speed is 10.public void mouseClick(String button, int clicks, int speed)
button - The button to click: "left", "right", "middle", "main",
"menu", "primary", "secondary".clicks - The number of times to click the mouse. Default is 1.speed - The speed to move the mouse in the range 1 (fastest) to 100 (slowest).
A speed of 0 will move the mouse instantly. Default speed is 10.public void mouseClickDrag(String button, int x, int y, int x2, int y2, int speed)
button - The button to click: "left", "right", "middle",
"main", "menu", "primary", "secondary".x - The x/y coords to start the drag operation from.y - The x/y coords to start the drag operation from.x2 - The x/y coords to start the drag operation to.y2 - The x/y coords to start the drag operation to.speed - The speed to move the mouse in the range 1 (fastest) to
100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10.public void mouseClickDrag(String button, int x, int y, int x2, int y2)
button - The button to click: "left", "right", "middle", "main",
"menu", "primary", "secondary".x - The x/y coords to start the drag operation from.y - The x/y coords to start the drag operation from.x2 - The x/y coords to start the drag operation to.y2 - The x/y coords to start the drag operation to.public void mouseDown(String button)
button - The button to click: "left", "right", "middle", "main",
"menu", "primary", "secondary".public int mouseGetCursor()
public int mouseGetPosX()
public int mouseGetPosY()
public boolean mouseMove(int x,
int y,
int speed)
x - The screen x coordinate to move the mouse to.y - The screen y coordinate to move the mouse to.speed - The speed to move the mouse in the range 1 (fastest) to
100 (slowest). A speed of 0 will move the mouse instantly.
Default speed is 10.public boolean mouseMove(int x,
int y)
x - The screen x coordinate to move the mouse to.y - The screen y coordinate to move the mouse to.public void mouseUp(String button)
button - The button to click: "left", "right", "middle", "main",
"menu", "primary", "secondary".public void mouseWheel(String direction, int clicks)
direction - "up" or "down"clicks - The number of times to move the wheel. Default is 1.public void mouseWheel(String direction)
direction - "up" or "down"public void processClose(String process)
process - The title or PID of the process to terminate.public int processExists(String process)
process - The name or PID of the process to check.public boolean processSetPriority(String process, int priority)
process - The name or PID of the process to check.priority - A flag which determines what priority to set
public boolean processWait(String process, int timeout)
process - The name of the process to check.timeout - Specifies how long to wait (default is to wait indefinitely).public boolean processWait(String process)
process - The name of the process to check.public boolean processWaitClose(String process, int timeout)
process - The name of the process to check.timeout - Specifies how long to wait (default is to wait indefinitely).public boolean processWaitClose(String process)
process - The name of the process to check.public int run(String filename, String workingDirectory, int flag)
filename - The name of the executable (EXE, BAT, COM, or PIF) to run.workingDirectory - The working directory.flag - The "show" flag of the executed program:
public int run(String filename, String workingDirectory)
filename - The name of the executable (EXE, BAT, COM, or PIF) to run.workingDirectory - The working directory.public int run(String filename)
filename - The name of the executable (EXE, BAT, COM, or PIF) to run.public int runAsSet(String username, String domain, String password, int options)
username - The user name to use.domain - The domain name to use.password - The password to use.options - 0 = do not load the user profile, 1 = (default) load the
user profile, 2 = use for net credentials onlypublic int runAsSet(String username, String domain, String password)
username - The user name to use.domain - The domain name to use.password - The password to use.public int runWait(String filename, String workingDirectory, int flag)
filename - The name of the executable (EXE, BAT, COM, PIF) to run.workingDirectory - The working directory.flag - The "show" flag of the executed program:
public int runWait(String filename, String workingDirectory)
filename - The name of the executable (EXE, BAT, COM, PIF) to run.workingDirectory - The working directory.public int runWait(String filename)
filename - The name of the executable (EXE, BAT, COM, PIF) to run.public boolean shutdown(int code)
code - The shutdown code is a combination of the following values:
public int regDeleteKey(String keyname)
keyname - The registry key to write to.public int regDeleteVal(String keyname)
keyname - The registry key to write to.public String regEnumKey(String keyname, int instance)
keyname - The registry key to read.instance - The 1-based key instance to retrieve.public String regEnumVal(String keyname, int instance)
keyname - The registry key to read.instance - The 1-based key instance to retrieve.public String regRead(String keyname, String valueName)
keyname - The registry key to read.valueName - The registry value to read.public boolean regWrite(String keyname, String valueName, String type, String value)
keyname - The registry key to write to. If no other parameters are
specified this key will simply be created.valueName - The valuename to write to.type - Type of key to write: "REG_SZ", "REG_MULTI_SZ", "REG_EXPAND_SZ",
"REG_DWORD", or "REG_BINARY".value - The value to write.public void sleep(int delay)
delay - Amount of time to pause (in milliseconds).public boolean controlClick(String title, String text, String controlID, String button, int clicks, int x, int y)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.button - The button to click, "left", "right" or "middle".
Default is the left button.clicks - The number of times to click the mouse. Default is center.x - The x position to click within the control. Default is center.y - The y position to click within the control. Default is center.public boolean controlClick(String title, String text, String controlID, String button, int clicks)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.button - The button to click, "left", "right" or "middle".
Default is the left button.clicks - The number of times to click the mouse. Default is center.public boolean controlClick(String title, String text, String controlID, String button)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.button - The button to click, "left", "right" or "middle".
Default is the left button.public boolean controlClick(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public void controlCommandShowDropdown(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlCommandHideDropDown(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlCommandCheck(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlCommandUncheck(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlCommandAddString(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - The string.public void controlCommandDeleteString(String title, String text, String control, String occurrance)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.occurrance - The occurrance.public void controlCommandEditPaste(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - The string.public void controlCommandSetCurrentSelection(String title, String text, String control, String occurrance)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.occurrance - public void controlCommandSelectString(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - The string.public boolean controlCommandIsVisible(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlCommandIsChecked(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlCommandIsEnabled(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public int controlCommandFindString(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - The string.public int controlCommandGetCurrentLine(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public int controlCommandGetCurrentCol(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public int controlCommandGetLineCount(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlCommandGetCurrentSelection(String title, String text, String control, int charLength)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.charLength - The char size.public String controlCommandGetSelected(String title, String text, String control, int charLength)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.charLength - The length to get.public void controlCommandTabLeft(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlCommandTabRight(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlCommandCurrentTab(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlDisable(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlEnable(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlFocus(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlGetFocus(String title, String text)
title - Title of window to check.text - Text from window to check.public String controlGetFocus(String title)
title - Title of window to check.public String controlGetHandle(String title, String text, String controlID)
title - The title of the window to read.text - The text of the window to read.controlID - The control to interact with.public int controlGetPosX(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public int controlGetPosY(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public int controlGetPosWidth(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public int controlGetPosHeight(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public String controlGetText(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public boolean controlHide(String title, String text, String controlID)
title - The title of the window to access.text - The text of the window to access.controlID - The control to interact with.public int controlListViewFindItem(String title, String text, String control, String string, String subitem)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - String to findsubitem - The SubItempublic int controlListViewGetItemCount(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public int controlListViewGetSelectedCount(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public int controlListViewGetSubItemCount(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlListViewGetText(String title, String text, String control, String item, String subitem)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The text of an item.subitem - The text of a subitem.public boolean controlListViewIsSelected(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The text of an item.public String controlListViewGetSelected(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String[] controlListViewGetSelectedArray(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlListViewSelect(String title, String text, String control, String from, String to)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.from - The start index.to - The to index.public void controlListViewSelectAll(String title, String text, String control, String from, String to)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.from - The start index.to - The end index.public void controlListViewSelectAll(String title, String text, String control, String from)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.from - The start index.public void controlListViewSelectClear(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlListViewSelectInvert(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlListViewSelectViewChange(String title, String text, String control, String view)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.view - Valid views are "list", "details", "smallicons", "largeicons".protected com.jacob.com.Variant controlVariant(String title, String text, String control, String function)
protected boolean controlBool(String title, String text, String control, String function)
protected String controlString(String title, String text, String control, String function)
public boolean controlMove(String title, String text, String control, int x, int y, int width, int height)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.x - X coordinate to move to.y - Y coordinate to move to.width - New width of the window.height - New height of the window.public boolean controlMove(String title, String text, String control, int x, int y)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.x - X coordinate to move to.y - Y coordinate to move to.public boolean controlSend(String title, String text, String control, String string, boolean sendRawKeys)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - String of characters to send to the control.sendRawKeys - If true, text contains special characters like +
to indicate SHIFT and {LEFT} to indicate left arrow.
If false, text is sent raw.public boolean controlSend(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - String of characters to send to the control.public boolean ControlSetText(String title, String text, String control, String string)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.string - The new text to be set into the control.public boolean controlShow(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public boolean controlTreeViewBoolean(String title, String text, String control, String command, String option, String option2)
public void controlTreeViewCheck(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to checkpublic void controlTreeViewCollapse(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to checkpublic Boolean controlTreeViewExists(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to checkpublic void controlTreeViewExpand(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to expandpublic int controlTreeViewGetItemCount(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to checkpublic int controlTreeViewGetSelectedItemIndex(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlTreeViewGetSelectedItemText(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public String controlTreeViewGetText(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to getpublic int controlTreeViewIsChecked(String title, String text, String control)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.public void controlTreeViewSelect(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to selectpublic void controlTreeViewUncheck(String title, String text, String control, String item)
title - The title of the window to access.text - The text of the window to access.control - The control to interact with.item - The item to selectpublic String statusbarGetText(String title, String text, int part)
title - The title of the window to check.text - The text of the window to check.part - The "part" number of the status bar to read
the default is 1. 1 is the first possible part and usually
the one that contains the useful messages like "Ready" "Loading...", etc.public String StatusbarGetText(String title, String text)
title - The title of the window to check.text - The text of the window to check.public void winActivate(String title, String text)
title - The title of the window to activate.text - The text of the window to activate.public void winActivate(String title)
title - The title of the window to activate.public void winActive(String title, String text)
title - The title of the window to activate.text - The text of the window to activate.public void winActive(String title)
title - The title of the window to activate.public void winClose(String title, String text)
title - The title of the window to activate.text - The text of the window to activate.public void winClose(String title)
title - The title of the window to activate.public boolean winExists(String title, String text)
title - The title of the window to activate.text - The text of the window to activate.public boolean winExists(String title)
title - The title of the window to activate.public int winGetCaretPosX()
public int winGetCaretPosY()
public String winGetClassList(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetClientSizeWidth(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetClientSizeHeight(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetClientSizeWidth(String title)
title - The title of the window to read.public int winGetClientSizeHeight(String title)
title - The title of the window to read.public String winGetHandle(String title, String text)
title - The title of the window to read.text - The text of the window to read.public String winGetHandle(String title)
title - The title of the window to read.public int winGetPosX(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetPosX(String title)
title - The title of the window to read.public int winGetPosY(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetPosY(String title)
title - The title of the window to read.public int winGetPosWidth(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetPosWidth(String title)
title - The title of the window to read.public int winGetPosHeight(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetPosHeight(String title)
title - The title of the window to read.public String winGetProcess(String title, String text)
title - The title of the window to read.text - The text of the window to read.public String winGetProcess(String title)
title - The title of the window to read.public int winGetState(String title, String text)
title - The title of the window to read.text - The text of the window to read.public int winGetState(String title)
title - The title of the window to read.public String winGetText(String title, String text)
WinGetText works on minimized windows, but only works on hidden windows if you've set AutoItSetOption("WinDetectHiddenText", 1) If multiple windows match the criteria for WinGetText, the information for the most recently active match is returned. Use WinGetText("") to get the active window's text.
title - The title of the window to read.text - The text of the window to read.public String winGetText(String title)
WinGetText works on minimized windows, but only works on hidden windows if you've set AutoItSetOption("WinDetectHiddenText", 1) If multiple windows match the criteria for WinGetText, the information for the most recently active match is returned. Use WinGetText("") to get the active window's text.
title - The title of the window to read.public String winGetTitle(String title, String text)
title - The title of the window to read.text - The text of the window to read.public String winGetTitle(String title)
title - The title of the window to read.public void winKill(String title, String text)
title - The title of the window.text - The text of the window.public void winKill(String title)
title - The title of the window.public String[][] winList(String title, String text)
title - The title of the window.text - The text of the window.public String[][] winList(String title)
title - The title of the window.public boolean winMenuSelectItem(String title, String text, String item)
title - The title of the window to read.text - The text of the window to read.item - Text of Menu Itempublic boolean winMenuSelectItem(String title, String text, String item, String item2)
title - The title of the window to read.text - The text of the window to read.item - Text of Menu Itemitem2 - Text of Menu Itempublic boolean winMenuSelectItem(String title, String text, String item, String item2, String item3)
title - The title of the window to read.text - The text of the window to read.item - Text of Menu Itemitem2 - Text of Menu Itemitem3 - Text of Menu Itempublic boolean winMenuSelectItem(String title, String text, String item, String item2, String item3, String item4, String item5, String item6, String item7)
title - The title of the window to read.text - The text of the window to read.item - Text of Menu Itemitem2 - Text of Menu Itemitem3 - Text of Menu Itemitem4 - Text of Menu Itemitem5 - Text of Menu Itemitem6 - Text of Menu Itemitem7 - Text of Menu Itempublic void winMinimizeAll()
public void winMinimizeAllUndo()
public void winMove(String title, String text, int x, int y, int width, int height)
title - The title of the window to move/resize.text - The text of the window to move/resize.x - X coordinate to move to.y - Y coordinate to move to.width - New width of the window.height - New height of the window.public void winMove(String title, String text, int x, int y)
title - The title of the window to move/resize.text - The text of the window to move/resize.x - X coordinate to move to.y - Y coordinate to move to.public void winSetOnTop(String title, String text, boolean isTopMost)
title - The title of the window to affect.text - The text of the window to affect.isTopMost - Determines whether the window should have the "TOPMOST" flag set.
true=set on top flag, false = remove on top flagpublic void winSetState(String title, String text, int flag)
title - The title of the window to affect.text - The text of the window to affect.flag - The "show" flag of the executed program:
public void winSetTitle(String title, String text, String newtitle)
title - The title of the window to affect.text - The text of the window to affect.newtitle - The new title to give to the window.public boolean winSetTrans(String title, String text, int transparency)
title - The title of the window to affect.text - The text of the window to affect.transparency - A number in the range 0 - 255. The larger the number,
the more transparent the window will become.public boolean winWait(String title, String text, int timeout)
title - The title of the window to check.text - The text of the window to check.timeout - Timeout in secondspublic boolean winWait(String title)
title - The title of the window to check.public boolean winWait(String title, String text)
title - The title of the window to check.text - The text of the window to check.public boolean winWaitActive(String title, String text, int timeout)
title - The title of the window to check.text - The text of the window to check.timeout - The timeout in seconds.public boolean winWaitActive(String title, String text)
title - The title of the window to check.text - The text of the window to check.public boolean winWaitActive(String title)
title - The title of the window to check.public boolean winWaitClose(String title, String text, int timeout)
title - The title of the window to check.text - The text of the window to check.timeout - The timeout in seconds.public boolean winWaitClose(String title)
title - The title of the window to check.public boolean winWaitClose(String title, String text)
title - The title of the window to check.text - The text of the window to check.public boolean winWaitNoActive(String title, String text, int timeout)
title - The title of the window to check.text - The text of the window to check.timeout - The timeout in seconds.public boolean winWaitNoActive(String title)
title - The title of the window to check.public boolean winWaitNoActive(String title, String text)
title - The title of the window to check.text - The text of the window to check.Copyright © 2021 OpenKeyWord. All rights reserved.