uiautomation
|
公開メンバ関数 | |
def | __init__ (self, pattern=None) |
bool | HorizontallyScrollable (self) |
float | HorizontalScrollPercent (self) |
float | HorizontalViewSize (self) |
bool | VerticallyScrollable (self) |
float | VerticalScrollPercent (self) |
float | VerticalViewSize (self) |
bool | Scroll (self, int horizontalAmount, int verticalAmount, float waitTime=OPERATION_WAIT_TIME) |
bool | SetScrollPercent (self, float horizontalPercent, float verticalPercent, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
pattern | |
静的公開変数類 | |
int | NoScrollValue = -1 |
def uiautomation.uiautomation.ScrollPattern.__init__ | ( | self, | |
pattern = None |
|||
) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationscrollpattern
bool uiautomation.uiautomation.ScrollPattern.HorizontallyScrollable | ( | self | ) |
Property HorizontallyScrollable. Call IUIAutomationScrollPattern::get_CurrentHorizontallyScrollable. Return bool, indicates whether the element can scroll horizontally. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currenthorizontallyscrollable
float uiautomation.uiautomation.ScrollPattern.HorizontalScrollPercent | ( | self | ) |
Property HorizontalScrollPercent. Call IUIAutomationScrollPattern::get_CurrentHorizontalScrollPercent. Return float, the horizontal scroll position. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currenthorizontalscrollpercent
float uiautomation.uiautomation.ScrollPattern.HorizontalViewSize | ( | self | ) |
Property HorizontalViewSize. Call IUIAutomationScrollPattern::get_CurrentHorizontalViewSize. Return float, the horizontal size of the viewable region of a scrollable element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currenthorizontalviewsize
bool uiautomation.uiautomation.ScrollPattern.Scroll | ( | self, | |
int | horizontalAmount, | ||
int | verticalAmount, | ||
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationScrollPattern::Scroll. Scroll the visible region of the content area horizontally and vertically. horizontalAmount: int, a value in ScrollAmount. verticalAmount: int, a value in ScrollAmount. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-scroll
bool uiautomation.uiautomation.ScrollPattern.SetScrollPercent | ( | self, | |
float | horizontalPercent, | ||
float | verticalPercent, | ||
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationScrollPattern::SetScrollPercent. Set the horizontal and vertical scroll positions as a percentage of the total content area within the UI Automation element. horizontalPercent: float or int, a value in [0, 100] or ScrollPattern.NoScrollValue(-1) if no scroll. verticalPercent: float or int, a value in [0, 100] or ScrollPattern.NoScrollValue(-1) if no scroll. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-setscrollpercent
bool uiautomation.uiautomation.ScrollPattern.VerticallyScrollable | ( | self | ) |
Property VerticallyScrollable. Call IUIAutomationScrollPattern::get_CurrentVerticallyScrollable. Return bool, indicates whether the element can scroll vertically. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentverticallyscrollable
float uiautomation.uiautomation.ScrollPattern.VerticalScrollPercent | ( | self | ) |
Property VerticalScrollPercent. Call IUIAutomationScrollPattern::get_CurrentVerticalScrollPercent. Return float, the vertical scroll position. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentverticalscrollpercent
float uiautomation.uiautomation.ScrollPattern.VerticalViewSize | ( | self | ) |
Property VerticalViewSize. Call IUIAutomationScrollPattern::get_CurrentVerticalViewSize. Return float, the vertical size of the viewable region of a scrollable element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentverticalviewsize
|
static |
uiautomation.uiautomation.ScrollPattern.pattern |