Enumeration Command

Enumeration of commands for interacting with controls in a window.

Enumeration Members

IsVisible: "IsVisible"

Returns 1 if Control is visible, 0 otherwise

IsEnabled: "IsEnabled"

Returns 1 if Control is enabled, 0 otherwise

ShowDropDown: "ShowDropDown"

Displays the ComboBox dropdown

HideDropDown: "HideDropDown"

Hides the ComboBox dropdown

AddString: "AddString"

Adds a string to the end in a ListBox or ComboBox

DelString: "DelString"

Deletes a string according to occurrence in a ListBox or ComboBox

FindString: "FindString"

Returns occurrence ref of the exact string in a ListBox or ComboBox

GetCount: "GetCount"

Returns number of entries in a ListBox or ComboBox

SetCurrentSelection: "SetCurrentSelection"

Sets selection to occurrence ref in a ListBox or ComboBox

SelectString: "SelectString"

Sets selection according to string in a ListBox or ComboBox

IsChecked: "IsChecked"

Returns 1 if Button is checked, 0 otherwise

Check: "Check"

Checks radio or check Button

UnCheck: "UnCheck"

Unchecks radio or check Button

GetCurrentLine: "GetCurrentLine"

Returns the line # where the caret is in an Edit

GetCurrentCol: "GetCurrentCol"

Returns the column # where the caret is in an Edit

GetCurrentSelection: "GetCurrentSelection"

Returns name of the currently selected item in a ListBox or ComboBox

GetLineCount: "GetLineCount"

Returns # of lines in an Edit

GetLine: "GetLine"

Returns text at line # passed of an Edit

GetSelected: "GetSelected"

Returns selected text of an Edit

EditPaste: "EditPaste"

Pastes the 'string' at the Edit's caret position

CurrentTab: "CurrentTab"

Returns the current Tab shown of a SysTabControl32

TabRight: "TabRight"

Moves to the next tab to the right of a SysTabControl32

TabLeft: "TabLeft"

Moves to the next tab to the left of a SysTabControl32

SendCommandID: "SendCommandID"

Simulates the WM_COMMAND message. Usually used for ToolbarWindow32 controls - use the ToolBar tab of Au3Info to get the Command ID.