uiautomation
|
公開メンバ関数 | |
def | __init__ (self, pattern=None) |
bool | AddToSelection (self, float waitTime=OPERATION_WAIT_TIME) |
bool | IsSelected (self) |
'Control' | SelectionContainer (self) |
bool | RemoveFromSelection (self, float waitTime=OPERATION_WAIT_TIME) |
bool | Select (self, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
pattern | |
def uiautomation.uiautomation.SelectionItemPattern.__init__ | ( | self, | |
pattern = None |
|||
) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationselectionitempattern
bool uiautomation.uiautomation.SelectionItemPattern.AddToSelection | ( | self, | |
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationSelectionItemPattern::AddToSelection. Add the current element to the collection of selected items. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-addtoselection
bool uiautomation.uiautomation.SelectionItemPattern.IsSelected | ( | self | ) |
Property IsSelected. Call IUIAutomationScrollPattern::get_CurrentIsSelected. Return bool, indicates whether this item is selected. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentisselected
bool uiautomation.uiautomation.SelectionItemPattern.RemoveFromSelection | ( | self, | |
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationSelectionItemPattern::RemoveFromSelection. Remove this element from the selection. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-removefromselection
bool uiautomation.uiautomation.SelectionItemPattern.Select | ( | self, | |
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationSelectionItemPattern::Select. Clear any selected items and then select the current element. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-select
'Control' uiautomation.uiautomation.SelectionItemPattern.SelectionContainer | ( | self | ) |
Property SelectionContainer. Call IUIAutomationScrollPattern::get_CurrentSelectionContainer. Return `Control` subclass, the element that supports IUIAutomationSelectionPattern and acts as the container for this item. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentselectioncontainer
uiautomation.uiautomation.SelectionItemPattern.pattern |