MCPcopy Create free account

hub / github.com/cluic/wxauto / functions

Functions775 in github.com/cluic/wxauto

MethodProgressBarControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6467
MethodProviderDescription
Property ProviderDescription. Call IUIAutomationElement::get_CurrentProviderDescription. Refer https://docs.microsoft.com/en-
wxauto/uiautomation.py:5687
MethodRadioButtonControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6470
MethodRangeFromChild
Call IUIAutomationTextPattern::RangeFromChild. child: `Control` or its subclass. Return `TextRange` or None, a text range enc
wxauto/uiautomation.py:4855
MethodRangeFromPoint
Call IUIAutomationTextPattern::RangeFromPoint. child: `Control` or its subclass. Return `TextRange` or None, the degenerate (
wxauto/uiautomation.py:4867
MethodRealize
Call IUIAutomationVirtualizedItemPattern::Realize. Create a full UI Automation element for a virtualized item. waitTime: floa
wxauto/uiautomation.py:5106
MethodRemoveFromSelection
Call IUIAutomationSelectionItemPattern::RemoveFromSelection. Remove this element from the selection. waitTime: float.
wxauto/uiautomation.py:4201
MethodRemoveListenChat
移除监听对象
wxauto/wxauto.py:683
MethodRemoveSearchProperties
searchProperties: dict, same as searchProperties in `Control.__init__`.
wxauto/uiautomation.py:5351
MethodResize
Call IUIAutomationTransformPattern::Resize. Resize the UI Automation element. width: int. height: int. waitTi
wxauto/uiautomation.py:4962
MethodRestore
Restore window to normal state. Similar to SwitchToThisWindow.
wxauto/uiautomation.py:7070
FunctionRightDragDrop
Simulate mouse right button drag from point x1, y1 drop to point x2, y2. x1: int. y1: int. x2: int. y2: int. moveSpeed: float
wxauto/uiautomation.py:2020
MethodRole
Property Role. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentRole. Return int, a value in calss `AccessibleRole`, th
wxauto/uiautomation.py:3818
MethodRotate
Call IUIAutomationTransformPattern::Rotate. Rotates the UI Automation element. degrees: int. waitTime: float.
wxauto/uiautomation.py:4976
MethodRow
Property Row. Call IUIAutomationGridItemPattern::get_CurrentRow. Return int, the zero-based index of the row that contains th
wxauto/uiautomation.py:3663
MethodRowCount
Property RowCount. Call IUIAutomationGridPattern::get_CurrentRowCount. Return int, the number of rows in the grid. Re
wxauto/uiautomation.py:3699
MethodRowOrColumnMajor
Property RowOrColumnMajor. Call IUIAutomationTablePattern::get_CurrentRowOrColumnMajor. Return int, a value in class `RowOrCo
wxauto/uiautomation.py:4463
MethodRowSpan
Property RowSpan. Call IUIAutomationGridItemPattern::get_CurrentRowSpan. Return int, the number of rows spanned by the grid i
wxauto/uiautomation.py:3673
FunctionRunByHotKey
Bind functions with hotkeys, the function will be run or stopped in another thread when the hotkey is pressed. keyFunctions: Dict[Tuple[int,
wxauto/uiautomation.py:7956
FunctionRunScriptAsAdmin
Run a python script as administrator. System will show a popup dialog askes you whether to elevate as administrator if UAC is enabled. ar
wxauto/uiautomation.py:2470
MethodScroll
Call IUIAutomationScrollPattern::Scroll. Scroll the visible region of the content area horizontally and vertically. horizonta
wxauto/uiautomation.py:4134
MethodScrollBarControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6473
MethodScrollIntoView
Call IUIAutomationScrollItemPattern::ScrollIntoView. waitTime: float. Return bool, True if succeed otherwise False. R
wxauto/uiautomation.py:4056
MethodSelect
Call IUIAutomationLegacyIAccessiblePattern::Select. Perform a Microsoft Active Accessibility selection. flagsSelect: int, a v
wxauto/uiautomation.py:3886
MethodSelect
Call IUIAutomationSelectionItemPattern::Select. Clear any selected items and then select the current element. waitTime: float
wxauto/uiautomation.py:4213
MethodSelect
Show combobox's popup menu and select a item by name. itemName: str. condition: Callable[[str], bool], function(comboBoxItemN
wxauto/uiautomation.py:6623
MethodSelectionContainer
Property SelectionContainer. Call IUIAutomationScrollPattern::get_CurrentSelectionContainer. Return `Control` subclass, the e
wxauto/uiautomation.py:4191
MethodSemanticZoomControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6476
MethodSendFiles
向当前聊天窗口发送文件 Args: filepath (str|list): 要复制文件的绝对路径 who (str): 要发送给谁,如果为None,则发送到当前聊天页面。 *最好完整匹配,优先使用备注
wxauto/wxauto.py:431
MethodSendKey
Make control have focus first and type a key. `self.SetFocus` may not work for some controls, you may need to click it to make it hav
wxauto/uiautomation.py:6308
MethodSeparatorControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6479
MethodSetActive
Set top level window active.
wxauto/uiautomation.py:7092
FunctionSetClipboardText
Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:1735
FunctionSetConsoleTitle
SetConsoleTitle from Win32. text: str. Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:2382
MethodSetDockPosition
Call IUIAutomationDockPattern::SetDockPosition. dockPosition: int, a value in class `DockPosition`. waitTime: float.
wxauto/uiautomation.py:3492
FunctionSetGlobalSearchTimeout
seconds: float. To make this available, you need explicitly import uiautomation: from uiautomation import uiautomation as auto
wxauto/uiautomation.py:7578
MethodSetLogFile
(path: str)
wxauto/uiautomation.py:2859
MethodSetPixelColor
Set color value of a pixel. x: int. y: int. argb: int, color value. Return bool, True if succeed otherwise Fa
wxauto/uiautomation.py:3162
MethodSetPixelColorsHorizontally
Set pixel colors form x,y horizontally. x: int. y: int. colors: Iterable[int], an iterable list of int color values i
wxauto/uiautomation.py:3184
MethodSetPixelColorsVertically
Set pixel colors form x,y vertically. x: int. y: int. colors: Iterable[int], an iterable list of int color values in
wxauto/uiautomation.py:3209
MethodSetScrollPercent
Call IUIAutomationScrollPattern::SetScrollPercent. Set the horizontal and vertical scroll positions as a percentage of the total cont
wxauto/uiautomation.py:4148
MethodSetSearchDepth
(self, searchDepth: int)
wxauto/uiautomation.py:5336
MethodSetSearchFromControl
searchFromControl: `Control` or its subclass
wxauto/uiautomation.py:5332
MethodSetTopmost
Set top level window topmost. isTopmost: bool. waitTime: float.
wxauto/uiautomation.py:7024
MethodSetValue
Call IUIAutomationLegacyIAccessiblePattern::SetValue. Set the Microsoft Active Accessibility value property for the element.
wxauto/uiautomation.py:3899
MethodSetValue
Call IUIAutomationRangeValuePattern::SetValue. Set the value of the control. value: int. waitTime: float. Ret
wxauto/uiautomation.py:4037
MethodSetView
Call IUIAutomationMultipleViewPattern::SetCurrentView. Set the view of the control. view: int, the control-specific view iden
wxauto/uiautomation.py:3945
FunctionSetWindowLong
SetWindowLong from Win32. handle: int, the handle of a native window. index: int. value: int. Return int, the previous value befo
wxauto/uiautomation.py:2232
MethodSetWindowText
Call native SetWindowText if control has a valid native handle.
wxauto/uiautomation.py:6299
MethodSetWindowVisualState
Call IUIAutomationWindowPattern::SetWindowVisualState. Minimize, maximize, or restore the window. state: int, a value in clas
wxauto/uiautomation.py:5197
MethodShape
Property Shape. Call IUIAutomationStylesPattern::get_CurrentShape. Return str, the shape of an element in a document.
wxauto/uiautomation.py:4363
MethodShow
Call native `ShowWindow(SW.Show)`. Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:6261
FunctionShowDesktop
Show Desktop by pressing win + d
wxauto/uiautomation.py:7923
MethodSliderControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6482
MethodSmallChange
Property SmallChange. Call IUIAutomationRangeValuePattern::get_CurrentSmallChange. Return float, the value that is added to o
wxauto/uiautomation.py:4017
MethodSpinnerControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6485
MethodSplitButtonControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6488
MethodStartListening
Call IUIAutomationSynchronizedInputPattern::StartListening. Cause the Microsoft UI Automation provider to start listening for mouse o
wxauto/uiautomation.py:4407
MethodState
Property State. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentState. Return int, a value in calss `AccessibleState`,
wxauto/uiautomation.py:3828
MethodStatusBarControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6491
MethodStyleId
Property StyleId. Call IUIAutomationStylesPattern::get_CurrentStyleId. Return int, a value in class `StyleId`, the visual sty
wxauto/uiautomation.py:4373
MethodStyleName
Property StyleName. Call IUIAutomationStylesPattern::get_CurrentStyleName. Return str, the name of the visual style associate
wxauto/uiautomation.py:4383
MethodSupportedTextSelection
Property SupportedTextSelection. Call IUIAutomationTextPattern::get_SupportedTextSelection. Return bool, specifies the type o
wxauto/uiautomation.py:4815
MethodTabControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6494
MethodTabItemControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6497
MethodTableControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6500
MethodTarget
Property Target. Call IUIAutomationAnnotationPattern::get_CurrentTarget. Return `Control` subclass, the element that is being
wxauto/uiautomation.py:3449
MethodTextContainer
Property TextContainer. Call IUIAutomationSelectionContainer::get_TextContainer. Return `Control` subclass, the nearest ances
wxauto/uiautomation.py:4753
MethodTextRange
Property TextRange. Call IUIAutomationSelectionContainer::get_TextRange. Return `TextRange`, a text range that encloses this
wxauto/uiautomation.py:4763
MethodThumbControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6506
MethodTitleBarControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6509
MethodToBitmap
Capture control to a Bitmap object. x, y: int, the point in control's internal position(from 0,0). width, height: int, image'
wxauto/uiautomation.py:6345
MethodToggle
Call IUIAutomationTogglePattern::Toggle. Cycle through the toggle states of the control. waitTime: float. Return bool
wxauto/uiautomation.py:4900
MethodToggleState
Property ToggleState. Call IUIAutomationTogglePattern::get_CurrentToggleState. Return int, a value in class `ToggleState`, th
wxauto/uiautomation.py:4891
MethodToolBarControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6512
MethodToolTipControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6515
MethodTreeControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6518
MethodTreeItemControl
(self, searchDepth=0xFFFFFFFF, searchInterval=SEARCH_INTERVAL, foundIndex=1, element=0, **searchProperties)
wxauto/uiautomation.py:6521
MethodValue
Property Value. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentValue. Return str, the Microsoft Active Accessibility
wxauto/uiautomation.py:3838
MethodValue
Property Value. Call IUIAutomationRangeValuePattern::get_CurrentValue. Return float, the value of the control. Refer
wxauto/uiautomation.py:4028
MethodValue
Property Value. Call IUIAutomationTransformPattern2::IUIAutomationValuePattern::get_CurrentValue. Return str, the value of th
wxauto/uiautomation.py:5078
MethodVerticalScrollPercent
Property VerticalScrollPercent. Call IUIAutomationScrollPattern::get_CurrentVerticalScrollPercent. Return float, the vertical
wxauto/uiautomation.py:4115
MethodVerticalViewSize
Property VerticalViewSize. Call IUIAutomationScrollPattern::get_CurrentVerticalViewSize. Return float, the vertical size of t
wxauto/uiautomation.py:4125
MethodVerticallyScrollable
Property VerticallyScrollable. Call IUIAutomationScrollPattern::get_CurrentVerticallyScrollable. Return bool, indicates wheth
wxauto/uiautomation.py:4105
FunctionWaitForDisappear
Check if control disappears in timeout seconds. control: `Control` or its subclass. timeout: float. Return bool.
wxauto/uiautomation.py:7599
FunctionWaitForExist
Check if control exists in timeout seconds. control: `Control` or its subclass. timeout: float. Return bool.
wxauto/uiautomation.py:7589
MethodWaitForInputIdle
Call IUIAutomationWindowPattern::WaitForInputIdle. Cause the calling code to block for the specified time or until the as
wxauto/uiautomation.py:5210
FunctionWalkTree
Walk a tree not using recursive algorithm. top: a tree node. getChildren: Callable[[TreeNode], List[TreeNode]], function(treeNode: TreeNo
wxauto/uiautomation.py:7609
MethodWidth
Property Width. Return int.
wxauto/uiautomation.py:3042
MethodWindowInteractionState
Property WindowInteractionState. Call IUIAutomationWindowPattern::get_CurrentWindowInteractionState. Return int, a value in c
wxauto/uiautomation.py:5176
MethodWindowVisualState
Property WindowVisualState. Call IUIAutomationWindowPattern::get_CurrentWindowVisualState. Return int, a value in class `Wind
wxauto/uiautomation.py:5187
MethodZoom
Call IUIAutomationTransformPattern2::Zoom. Zoom the viewport of the control. zoomLevel: float for int. waitTime: floa
wxauto/uiautomation.py:5035
MethodZoomByUnit
Call IUIAutomationTransformPattern2::ZoomByUnit. Zoom the viewport of the control by the specified unit. zoomUnit: int, a val
wxauto/uiautomation.py:5048
MethodZoomLevel
Property ZoomLevel. Call IUIAutomationTransformPattern2::get_CurrentZoomLevel. Return float, the zoom level of the control's
wxauto/uiautomation.py:5006
MethodZoomMaximum
Property ZoomMaximum. Call IUIAutomationTransformPattern2::get_CurrentZoomMaximum. Return float, the maximum zoom level of th
wxauto/uiautomation.py:5016
MethodZoomMinimum
Property ZoomMinimum. Call IUIAutomationTransformPattern2::get_CurrentZoomMinimum. Return float, the minimum zoom level of th
wxauto/uiautomation.py:5026
Method_CompareFunction
Define how to search. control: `Control` or its subclass. depth: int, tree depth from searchFromControl. Return bool.
wxauto/uiautomation.py:5966
Method__del__
(self)
wxauto/uiautomation.py:130
Method__del__
(self)
wxauto/uiautomation.py:3026
Method__del__
(self)
wxauto/uiautomation.py:7551
← previousnext →501–600 of 775, ranked by callers