uiautomation
uiautomation.uiautomation.LegacyIAccessiblePattern クラス

公開メンバ関数

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
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.LegacyIAccessiblePattern.__init__ (   self,
  pattern = None 
)
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationlegacyiaccessiblepattern

メソッド詳解

◆ ChildId()

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

◆ DefaultAction()

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

◆ Description()

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

◆ DoDefaultAction()

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

◆ GetIAccessible()

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

◆ GetSelection()

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

◆ Help()

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

◆ KeyboardShortcut()

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

◆ Name()

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

◆ Role()

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

◆ Select()

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

◆ SetValue()

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

◆ State()

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

◆ Value()

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

メンバ詳解

◆ pattern

uiautomation.uiautomation.LegacyIAccessiblePattern.pattern

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