uiautomation
|
公開メンバ関数 | |
def | __init__ (self, pattern=None) |
int | ChildId (self) |
str | DefaultAction (self) |
str | Description (self) |
str | Help (self) |
str | KeyboardShortcut (self) |
str | Name (self) |
int | Role (self) |
int | State (self) |
str | Value (self) |
bool | DoDefaultAction (self, float waitTime=OPERATION_WAIT_TIME) |
List[ 'Control'] | GetSelection (self) |
def | GetIAccessible (self) |
bool | Select (self, int flagsSelect, float waitTime=OPERATION_WAIT_TIME) |
bool | SetValue (self, str value, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
pattern | |
def uiautomation.uiautomation.LegacyIAccessiblePattern.__init__ | ( | self, | |
pattern = None |
|||
) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationlegacyiaccessiblepattern
int uiautomation.uiautomation.LegacyIAccessiblePattern.ChildId | ( | self | ) |
Property ChildId. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentChildId. Return int, the Microsoft Active Accessibility child identifier for the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentchildid
str uiautomation.uiautomation.LegacyIAccessiblePattern.DefaultAction | ( | self | ) |
Property DefaultAction. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentDefaultAction. Return str, the Microsoft Active Accessibility current default action for the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentdefaultaction
str uiautomation.uiautomation.LegacyIAccessiblePattern.Description | ( | self | ) |
Property Description. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentDescription. Return str, the Microsoft Active Accessibility description of the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentdescription
bool uiautomation.uiautomation.LegacyIAccessiblePattern.DoDefaultAction | ( | self, | |
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationLegacyIAccessiblePattern::DoDefaultAction. Perform the Microsoft Active Accessibility default action for the element. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-dodefaultaction
def uiautomation.uiautomation.LegacyIAccessiblePattern.GetIAccessible | ( | self | ) |
Call IUIAutomationLegacyIAccessiblePattern::GetIAccessible, todo. Return an IAccessible object that corresponds to the Microsoft UI Automation element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-getiaccessible Refer https://docs.microsoft.com/en-us/windows/desktop/api/oleacc/nn-oleacc-iaccessible
List['Control'] uiautomation.uiautomation.LegacyIAccessiblePattern.GetSelection | ( | self | ) |
Call IUIAutomationLegacyIAccessiblePattern::GetCurrentSelection. Return List[Control], a list of `Control` subclasses, the Microsoft Active Accessibility property that identifies the selected children of this element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-getcurrentselection
str uiautomation.uiautomation.LegacyIAccessiblePattern.Help | ( | self | ) |
Property Help. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentHelp. Return str, the Microsoft Active Accessibility help string for the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currenthelp
str uiautomation.uiautomation.LegacyIAccessiblePattern.KeyboardShortcut | ( | self | ) |
Property KeyboardShortcut. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentKeyboardShortcut. Return str, the Microsoft Active Accessibility keyboard shortcut property for the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentkeyboardshortcut
str uiautomation.uiautomation.LegacyIAccessiblePattern.Name | ( | self | ) |
Property Name. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentName. Return str, the Microsoft Active Accessibility name property of the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentname
int uiautomation.uiautomation.LegacyIAccessiblePattern.Role | ( | self | ) |
Property Role. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentRole. Return int, a value in calss `AccessibleRole`, the Microsoft Active Accessibility role identifier. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentrole
bool uiautomation.uiautomation.LegacyIAccessiblePattern.Select | ( | self, | |
int | flagsSelect, | ||
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationLegacyIAccessiblePattern::Select. Perform a Microsoft Active Accessibility selection. flagsSelect: int, a value in `AccessibleSelection`. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-select
bool uiautomation.uiautomation.LegacyIAccessiblePattern.SetValue | ( | self, | |
str | value, | ||
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationLegacyIAccessiblePattern::SetValue. Set the Microsoft Active Accessibility value property for the element. value: str. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-setvalue
int uiautomation.uiautomation.LegacyIAccessiblePattern.State | ( | self | ) |
Property State. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentState. Return int, a value in calss `AccessibleState`, the Microsoft Active Accessibility state identifier. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentstate
str uiautomation.uiautomation.LegacyIAccessiblePattern.Value | ( | self | ) |
Property Value. Call IUIAutomationLegacyIAccessiblePattern::get_CurrentValue. Return str, the Microsoft Active Accessibility value property. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-get_currentvalue
uiautomation.uiautomation.LegacyIAccessiblePattern.pattern |