Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cluic/wxauto
/ functions
Functions
775 in github.com/cluic/wxauto
⨍
Functions
775
◇
Types & classes
148
↓ 2 callers
Method
SetValue
Call IUIAutomationTransformPattern2::IUIAutomationValuePattern::SetValue. Set the value of the element. value: str. w
wxauto/uiautomation.py:5087
↓ 2 callers
Function
SetWindowPos
SetWindowPos from Win32. handle: int, the handle of a native window. hWndInsertAfter: int, a value whose name starts with 'HWND' in class
wxauto/uiautomation.py:2296
↓ 2 callers
Function
WalkControl
control: `Control` or its subclass. includeTop: bool, if True, yield (control, 0) first. maxDepth: int, enum depth. Yield 2 items tup
wxauto/uiautomation.py:7770
↓ 2 callers
Method
_getsize
(self)
wxauto/uiautomation.py:3029
↓ 2 callers
Method
_show
(self)
wxauto/elements.py:589
↓ 1 callers
Method
AddToSelection
Call IUIAutomationTextRange::AddToSelection. Add the text range to the collection of selected text ranges in a control that supports
wxauto/uiautomation.py:4514
↓ 1 callers
Method
AtAll
@所有人 Args: msg (str, optional): 要发送的文本消息
wxauto/elements.py:202
↓ 1 callers
Method
CheckNewMessage
是否有新消息
wxauto/wxauto.py:179
↓ 1 callers
Function
ClipboardFormats
(unit=0, *units)
wxauto/utils.py:228
↓ 1 callers
Method
Close
(self)
wxauto/elements.py:505
↓ 1 callers
Method
Close
关闭联系人窗口
wxauto/elements.py:637
↓ 1 callers
Method
Collapse
Call IUIAutomationExpandCollapsePattern::Collapse. waitTime: float. Return bool, True if succeed otherwise False. Ref
wxauto/uiautomation.py:3604
↓ 1 callers
Function
ControlFromPoint
Call IUIAutomation ElementFromPoint x,y. May return None if mouse is over cmd's title bar icon. Return `Control` subclass or None.
wxauto/uiautomation.py:7716
↓ 1 callers
Function
ControlFromPoint2
Get a native handle from point x,y and call IUIAutomation.ElementFromHandle. Return `Control` subclass.
wxauto/uiautomation.py:7725
↓ 1 callers
Function
CreatePattern
Create a concreate pattern by pattern id and pattern(POINTER(IUnknown)).
wxauto/uiautomation.py:5260
↓ 1 callers
Method
Disappears
maxSearchSeconds: float searchIntervalSeconds: float Check if control disappears every searchIntervalSeconds seconds in maxSe
wxauto/uiautomation.py:6052
↓ 1 callers
Method
Expand
Call IUIAutomationExpandCollapsePattern::Expand. waitTime: float. Return bool, True if succeed otherwise False. Refer
wxauto/uiautomation.py:3615
↓ 1 callers
Function
FindControl
control: `Control` or its subclass. compare: Callable[[Control, int], bool], function(control: Control, depth: int) -> bool. maxDepth: in
wxauto/uiautomation.py:7901
↓ 1 callers
Function
FindWinEx
(HWND, classname=None, name=None)
wxauto/utils.py:205
↓ 1 callers
Method
FromHandle
Capture a native window to Bitmap by its handle. hwnd: int, the handle of a native window. left: int. top: int.
wxauto/uiautomation.py:3057
↓ 1 callers
Function
GetAllControlList
(ele)
wxauto/utils.py:114
↓ 1 callers
Method
GetAllFriends
获取好友列表
wxauto/elements.py:613
↓ 1 callers
Method
GetAllProgeny
Get all progeny controls. Return List[List[Control]], a list of list of `Control` subclasses.
wxauto/uiautomation.py:5919
↓ 1 callers
Function
GetAllWindowExs
(HWND)
wxauto/utils.py:194
↓ 1 callers
Function
GetDoubleClickTime
GetDoubleClickTime from Win32. Return int, in milliseconds.
wxauto/uiautomation.py:1813
↓ 1 callers
Method
GetExpandCollapsePattern
Return `ExpandCollapsePattern` if it supports the pattern else None(Must support according to MSDN).
wxauto/uiautomation.py:6605
↓ 1 callers
Function
GetForegroundWindow
GetForegroundWindow from Win32. Return int, the native handle of the foreground window.
wxauto/uiautomation.py:2391
↓ 1 callers
Method
GetLegacyIAccessiblePattern
Return `LegacyIAccessiblePattern` if it supports the pattern else None.
wxauto/uiautomation.py:5820
↓ 1 callers
Method
GetNextNewMessage
获取下一个新消息
wxauto/wxauto.py:184
↓ 1 callers
Function
GetPatternIdInterface
Get pattern COM interface by pattern id. patternId: int, a value in class `PatternId`. Return comtypes._cominterface_meta.
wxauto/uiautomation.py:3303
↓ 1 callers
Function
GetPixelColor
Get pixel color of a native window. x: int. y: int. handle: int, the handle of a native window. Return int, the bgr value of poin
wxauto/uiautomation.py:2144
↓ 1 callers
Method
GetPreviousSiblingControl
Return `Control` subclass or None.
wxauto/uiautomation.py:5872
↓ 1 callers
Method
GetPropertyValue
Call IUIAutomationElement::GetCurrentPropertyValue. propertyId: int, a value in class `PropertyId`. Return Any, corresponding
wxauto/uiautomation.py:5741
↓ 1 callers
Method
GetSearchPropertiesStr
(self)
wxauto/uiautomation.py:5360
↓ 1 callers
Method
GetSessionAmont
获取聊天对象名和新消息条数 Args: SessionItem (uiautomation.ListItemControl): 聊天对象控件 Returns: sessionn
wxauto/wxauto.py:159
↓ 1 callers
Method
GetSessionName
获取聊天对象的名字 Args: SessionItem (uiautomation.ListItemControl): 聊天对象控件 Returns: sessionname (str): 聊天对象名
wxauto/wxauto.py:760
↓ 1 callers
Method
GetText
Call IUIAutomationTextRange::GetText. maxLength: int, the maximum length of the string to return, or -1 if no limit is required.
wxauto/uiautomation.py:4650
↓ 1 callers
Function
GetVersionByPath
(file_path)
wxauto/utils.py:40
↓ 1 callers
Function
GetWindowLong
GetWindowLong from Win32. handle: int, the handle of a native window. index: int.
wxauto/uiautomation.py:2223
↓ 1 callers
Function
GetWindowText
GetWindowText from Win32. handle: int, the handle of a native window. Return str.
wxauto/uiautomation.py:2321
↓ 1 callers
Function
InitializeUIAutomationInCurrentThread
Initialize UIAutomation in a new thread. If you want to use functionalities related to Controls and Patterns in a new thread. You must ca
wxauto/uiautomation.py:7558
↓ 1 callers
Function
IsRedPixel
(uicontrol)
wxauto/utils.py:52
↓ 1 callers
Function
IsWindowVisible
IsWindowVisible from Win32. handle: int, the handle of a native window. Return bool.
wxauto/uiautomation.py:2263
↓ 1 callers
Function
IsZoomed
IsZoomed from Win32. Determine whether a native window is maximized. handle: int, the handle of a native window. Return bool.
wxauto/uiautomation.py:2253
↓ 1 callers
Function
MiddleClick
Simulate mouse middle click at point x, y. x: int. y: int. waitTime: float.
wxauto/uiautomation.py:1863
↓ 1 callers
Function
MiddlePressMouse
Press middle mouse. x: int. y: int. waitTime: float.
wxauto/uiautomation.py:1941
↓ 1 callers
Function
MiddleReleaseMouse
Release middle mouse. waitTime: float.
wxauto/uiautomation.py:1954
↓ 1 callers
Method
Move
Call IUIAutomationTextRange::Move. Move the text range forward or backward by the specified number of text units. unit: int,
wxauto/uiautomation.py:4659
↓ 1 callers
Function
MoveWindow
MoveWindow from Win32. handle: int, the handle of a native window. x: int. y: int. width: int. height: int. repaint: int,
wxauto/uiautomation.py:2282
↓ 1 callers
Method
MoveWindow
Call native MoveWindow if control has a valid native handle. x: int. y: int. width: int. height: int.
wxauto/uiautomation.py:6276
↓ 1 callers
Function
ParseMessage
(data, control, wx)
wxauto/elements.py:970
↓ 1 callers
Function
PressMouse
Press left mouse. x: int. y: int. waitTime: float.
wxauto/uiautomation.py:1893
↓ 1 callers
Function
ReadClipboardData
()
wxauto/utils.py:238
↓ 1 callers
Function
ReleaseKey
Simulate a key up for key. key: int, a value in class `Keys`. waitTime: float.
wxauto/uiautomation.py:2503
↓ 1 callers
Function
ReleaseMouse
Release left mouse. waitTime: float.
wxauto/uiautomation.py:1906
↓ 1 callers
Method
RemoveFromSelection
Call IUIAutomationTextRange::RemoveFromSelection. Remove the text range from an existing collection of selected text in a text contai
wxauto/uiautomation.py:4708
↓ 1 callers
Function
ResetConsoleColor
Reset to the default text color on console window. Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:1773
↓ 1 callers
Function
RightClick
Simulate mouse right click at point x, y. x: int. y: int. waitTime: float.
wxauto/uiautomation.py:1878
↓ 1 callers
Function
RightPressMouse
Press right mouse. x: int. y: int. waitTime: float.
wxauto/uiautomation.py:1917
↓ 1 callers
Function
RightReleaseMouse
Release right mouse. waitTime: float.
wxauto/uiautomation.py:1930
↓ 1 callers
Method
Save
保存图片 Args: savepath (str): 绝对路径,包括文件名和后缀,例如:"D:/Images/微信图片_xxxxxx.jpg" (如果不填,则默认为当前脚本文件夹下,新建一个“微信图片”的文件夹,保存在该文件夹内)
wxauto/elements.py:442
↓ 1 callers
Method
ScreenShot
Save the control's screenshot to savePath. savePath: str, the path to save the screenshot. Return str, the path of the saved
wxauto/uiautomation.py:5463
↓ 1 callers
Method
Search
搜索好友 Args: keyword (str): 搜索关键词
wxauto/elements.py:602
↓ 1 callers
Method
SendFiles
向当前聊天窗口发送文件 Args: filepath (str|list): 要复制文件的绝对路径 Returns: bool: 是否成功发送文件
wxauto/elements.py:257
↓ 1 callers
Function
SendInput
SendInput from Win32. input: `INPUT`. Return int, the number of events that it successfully inserted into the keyboard or mouse input str
wxauto/uiautomation.py:2554
↓ 1 callers
Function
SendKey
Simulate typing a key. key: int, a value in class `Keys`.
wxauto/uiautomation.py:2483
↓ 1 callers
Method
SendMsg
发送文本消息 Args: msg (str): 要发送的文本消息 who (str): 要发送给谁,如果为None,则发送到当前聊天页面。 *最好完整匹配,优先使用备注 clear (bool, option
wxauto/wxauto.py:375
↓ 1 callers
Function
SendUnicodeChar
Type a single unicode char. char: str, len(char) must equal to 1. charMode: bool, if False, the char typied is depend on the input method
wxauto/uiautomation.py:2573
↓ 1 callers
Function
SetForegroundWindow
SetForegroundWindow from Win32. handle: int, the handle of a native window. Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:2177
↓ 1 callers
Method
SetPixelColorsOfRect
x: int. y: int. width: int. height: int. colors: Iterable[int], an iterable list of int values in argb, it's
wxauto/uiautomation.py:3249
↓ 1 callers
Function
SetWindowText
SetWindowText from Win32. handle: int, the handle of a native window. text: str. Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:2333
↓ 1 callers
Function
SetWindowTopmost
handle: int, the handle of a native window. isTopmost: bool Return bool, True if succeed otherwise False.
wxauto/uiautomation.py:2311
↓ 1 callers
Method
SwitchToChat
切换到聊天页面
wxauto/wxauto.py:606
↓ 1 callers
Function
SwitchToThisWindow
SwitchToThisWindow from Win32. handle: int, the handle of a native window.
wxauto/uiautomation.py:2195
↓ 1 callers
Method
ToFile
Save to a file. savePath: str, should end with .bmp, .jpg, .jpeg, .png, .gif, .tif, .tiff. Return bool, True if succeed other
wxauto/uiautomation.py:3131
↓ 1 callers
Function
UninitializeUIAutomationInCurrentThread
Uninitialize UIAutomation in a new thread after calling InitializeUIAutomationInCurrentThread. You must call this function when the new threa
wxauto/uiautomation.py:7570
↓ 1 callers
Function
WaitHotKeyReleased
hotkey: Tuple[int, int], two ints tuple (modifierKey, key)
wxauto/uiautomation.py:7937
↓ 1 callers
Function
WheelDown
Simulate mouse wheel down. wheelTimes: int. interval: float. waitTime: float.
wxauto/uiautomation.py:2050
↓ 1 callers
Function
WheelUp
Simulate mouse wheel up. wheelTimes: int. interval: float. waitTime: float.
wxauto/uiautomation.py:2063
↓ 1 callers
Function
WindowFromPoint
WindowFromPoint from Win32. Return int, a native window handle.
wxauto/uiautomation.py:1783
↓ 1 callers
Function
_VKtoSC
This function is only for internal use in SendKeys. key: int, a value in class `Keys`. Return int.
wxauto/uiautomation.py:2627
↓ 1 callers
Method
_download_file
(self, msgitem)
wxauto/elements.py:107
↓ 1 callers
Method
_download_pic
(self, msgitem)
wxauto/elements.py:95
↓ 1 callers
Method
_get_friend_details
(self)
wxauto/wxauto.py:97
↓ 1 callers
Method
_get_voice_text
(self, msgitem)
wxauto/elements.py:154
↓ 1 callers
Method
_goto_first_friend
(self)
wxauto/wxauto.py:112
↓ 1 callers
Method
_refresh
(self)
wxauto/wxauto.py:92
↓ 1 callers
Method
_show
(self)
wxauto/elements.py:981
↓ 1 callers
Method
_split
(self, MsgItem)
wxauto/elements.py:28
↓ 1 callers
Function
releaseAllKey
()
wxauto/uiautomation.py:7990
↓ 1 callers
Function
set_cursor_pos
(x, y)
wxauto/utils.py:21
↓ 1 callers
Function
set_debug
(debug: bool)
wxauto/utils.py:324
Method
AcceleratorKey
Property AcceleratorKey. Call IUIAutomationElement::get_CurrentAcceleratorKey. Refer https://docs.microsoft.com/en-us/windows
wxauto/uiautomation.py:5405
Method
Accept
接受好友请求 Args: remark (str, optional): 备注名 tags (list, optional): 标签列表
wxauto/elements.py:553
Method
AccessKey
Property AccessKey. Call IUIAutomationElement::get_CurrentAccessKey. Refer https://docs.microsoft.com/en-us/windows/desktop/a
wxauto/uiautomation.py:5414
Method
AddListenChat
添加监听对象 Args: who (str): 要监听的聊天对象名 savepic (bool, optional): 是否自动保存聊天图片,只针对该聊天对象有效 savefile (bool,
wxauto/wxauto.py:562
Method
AddNewFriend
添加新的好友 Args: keywords (str): 搜索关键词,微信号、手机号、QQ号 addmsg (str, optional): 添加好友的消息 remark (str, optional): 备注
wxauto/wxauto.py:690
Method
AddToSelection
Call IUIAutomationSelectionItemPattern::AddToSelection. Add the current element to the collection of selected items. waitTime
wxauto/uiautomation.py:4168
Method
AnnotationTypeId
Property AnnotationTypeId. Call IUIAutomationAnnotationPattern::get_CurrentAnnotationTypeId. Return int, a value in class `An
wxauto/uiautomation.py:3412
Method
AnnotationTypeName
Property AnnotationTypeName. Call IUIAutomationAnnotationPattern::get_CurrentAnnotationTypeName. Refer https://docs.microsoft
wxauto/uiautomation.py:3422
← previous
next →
101–200 of 775, ranked by callers