uiautomation
uiautomation.uiautomation.TextControl クラス
uiautomation.uiautomation.TextControl の継承関係図
uiautomation.uiautomation.Control

公開メンバ関数

def __init__ (self, Control searchFromControl=None, int searchDepth=0xFFFFFFFF, float searchInterval=SEARCH_INTERVAL, int foundIndex=1, element=None, **searchProperties)
 
GridItemPattern GetGridItemPattern (self)
 
TableItemPattern GetTableItemPattern (self)
 
TextPattern GetTextPattern (self)
 
- 基底クラス uiautomation.uiautomation.Control に属する継承公開メンバ関数
def __init__ (self, 'Control' searchFromControl=None, int searchDepth=0xFFFFFFFF, float searchInterval=SEARCH_INTERVAL, int foundIndex=1, element=None, **searchProperties)
 
str __str__ (self)
 
None SetSearchFromControl (self, 'Control' searchFromControl)
 
None SetSearchDepth (self, int searchDepth)
 
None AddSearchProperties (self, **searchProperties)
 
None RemoveSearchProperties (self, **searchProperties)
 
str GetSearchPropertiesStr (self)
 
str GetColorfulSearchPropertiesStr (self, keyColor='DarkGreen', valueColor='DarkCyan')
 
str AcceleratorKey (self)
 
str AccessKey (self)
 
str AriaProperties (self)
 
str AriaRole (self)
 
str AutomationId (self)
 
Rect BoundingRectangle (self)
 
str ClassName (self)
 
int ControlType (self)
 
int Culture (self)
 
str FrameworkId (self)
 
bool HasKeyboardFocus (self)
 
str HelpText (self)
 
bool IsContentElement (self)
 
bool IsControlElement (self)
 
bool IsDataValidForForm (self)
 
bool IsEnabled (self)
 
bool IsKeyboardFocusable (self)
 
bool IsOffscreen (self)
 
bool IsPassword (self)
 
bool IsRequiredForForm (self)
 
str ItemStatus (self)
 
str ItemType (self)
 
str LocalizedControlType (self)
 
str Name (self)
 
str NativeWindowHandle (self)
 
int Orientation (self)
 
int ProcessId (self)
 
str ProviderDescription (self)
 
Tuple[int, int, bool] GetClickablePoint (self)
 
def GetPattern (self, int patternId)
 
def GetPatternAs (self, int patternId, riid)
 
Any GetPropertyValue (self, int propertyId)
 
Any GetPropertyValueEx (self, int propertyId, int ignoreDefaultValue)
 
List[int] GetRuntimeId (self)
 
bool SetFocus (self)
 
def Element (self)
 
str ControlTypeName (self)
 
def GetCachedPattern (self, int patternId, bool cache)
 
LegacyIAccessiblePattern GetLegacyIAccessiblePattern (self)
 
'ControlGetAncestorControl (self, Callable[['Control', int], bool] condition)
 
'ControlGetParentControl (self)
 
'ControlGetFirstChildControl (self)
 
'ControlGetLastChildControl (self)
 
'ControlGetNextSiblingControl (self)
 
'ControlGetPreviousSiblingControl (self)
 
'ControlGetSiblingControl (self, Callable[['Control'], bool] condition, bool forward=True)
 
List[ 'Control'] GetChildren (self)
 
bool Exists (self, float maxSearchSeconds=5, float searchIntervalSeconds=SEARCH_INTERVAL, bool printIfNotExist=False)
 
bool Disappears (self, float maxSearchSeconds=5, float searchIntervalSeconds=SEARCH_INTERVAL, bool printIfNotDisappear=False)
 
bool Refind (self, float maxSearchSeconds=TIME_OUT_SECOND, float searchIntervalSeconds=SEARCH_INTERVAL, bool raiseException=True)
 
Tuple[int, int] MoveCursorToInnerPos (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, bool simulateMove=True)
 
Tuple[int, int] MoveCursorToMyCenter (self, bool simulateMove=True)
 
None Click (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, bool simulateMove=True, float waitTime=OPERATION_WAIT_TIME)
 
None MiddleClick (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, bool simulateMove=True, float waitTime=OPERATION_WAIT_TIME)
 
None RightClick (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, bool simulateMove=True, float waitTime=OPERATION_WAIT_TIME)
 
None DoubleClick (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, bool simulateMove=True, float waitTime=OPERATION_WAIT_TIME)
 
None DragDrop (self, int x1, int y1, int x2, int y2, float moveSpeed=1, float waitTime=OPERATION_WAIT_TIME)
 
None WheelDown (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, int wheelTimes=1, float interval=0.05, float waitTime=OPERATION_WAIT_TIME)
 
None WheelUp (self, int x=None, int y=None, float ratioX=0.5, float ratioY=0.5, int wheelTimes=1, float interval=0.05, float waitTime=OPERATION_WAIT_TIME)
 
bool ShowWindow (self, int cmdShow, float waitTime=OPERATION_WAIT_TIME)
 
bool Show (self, float waitTime=OPERATION_WAIT_TIME)
 
bool Hide (self, float waitTime=OPERATION_WAIT_TIME)
 
bool MoveWindow (self, int x, int y, int width, int height, bool repaint=True)
 
str GetWindowText (self)
 
bool SetWindowText (self, str text)
 
None SendKey (self, int key, float waitTime=OPERATION_WAIT_TIME)
 
None SendKeys (self, str text, float interval=0.01, float waitTime=OPERATION_WAIT_TIME, bool charMode=True)
 
int GetPixelColor (self, int x, int y)
 
Bitmap ToBitmap (self, int x=0, int y=0, int width=0, int height=0)
 
bool CaptureToImage (self, str savePath, int x=0, int y=0, int width=0, int height=0)
 
bool IsTopLevel (self)
 
'ControlGetTopLevelControl (self)
 
'ControlControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ButtonControlButtonControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'CalendarControlCalendarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'CheckBoxControlCheckBoxControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ComboBoxControlComboBoxControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'CustomControlCustomControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'DataGridControlDataGridControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'DataItemControlDataItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'DocumentControlDocumentControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'EditControlEditControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'GroupControlGroupControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'HeaderControlHeaderControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'HeaderItemControlHeaderItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'HyperlinkControlHyperlinkControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ImageControlImageControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'listControl' ListControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ListItemControlListItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'MenuControlMenuControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'MenuBarControlMenuBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'MenuItemControlMenuItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'PaneControlPaneControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ProgressBarControlProgressBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'RadioButtonControlRadioButtonControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ScrollBarControlScrollBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'SemanticZoomControlSemanticZoomControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'SeparatorControlSeparatorControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'SliderControlSliderControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'SpinnerControlSpinnerControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'SplitButtonControlSplitButtonControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'StatusBarControlStatusBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TabControlTabControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TabItemControlTabItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TableControlTableControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TextControlTextControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ThumbControlThumbControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TitleBarControlTitleBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ToolBarControlToolBarControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'ToolTipControlToolTipControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TreeControlTreeControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'TreeItemControlTreeItemControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 
'WindowControlWindowControl (self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
 

その他の継承メンバ

- 基底クラス uiautomation.uiautomation.Control に属する継承静的公開メンバ関数
'ControlCreateControlFromElement (element)
 
'ControlCreateControlFromControl ('Control' control)
 
- 基底クラス uiautomation.uiautomation.Control に属する継承公開変数類
 searchFromControl
 
 searchDepth
 
 searchInterval
 
 foundIndex
 
 searchProperties
 
 regexName
 
- 基底クラス uiautomation.uiautomation.Control に属する継承静的公開変数類
 ValidKeys = set(['ControlType', 'ClassName', 'AutomationId', 'Name', 'SubName', 'RegexName', 'Depth', 'Compare'])
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.TextControl.__init__ (   self,
Control   searchFromControl = None,
int   searchDepth = 0xFFFFFFFF,
float   searchInterval = SEARCH_INTERVAL,
int   foundIndex = 1,
  element = None,
**  searchProperties 
)

メソッド詳解

◆ GetGridItemPattern()

GridItemPattern uiautomation.uiautomation.TextControl.GetGridItemPattern (   self)
Return `GridItemPattern` if it supports the pattern else None(Conditional support according to MSDN).

◆ GetTableItemPattern()

TableItemPattern uiautomation.uiautomation.TextControl.GetTableItemPattern (   self)
Return `TableItemPattern` if it supports the pattern else None(Conditional support according to MSDN).

◆ GetTextPattern()

TextPattern uiautomation.uiautomation.TextControl.GetTextPattern (   self)
Return `TextPattern` if it supports the pattern else None(Conditional support according to MSDN).

このクラス詳解は次のファイルから抽出されました: