uiautomation
|
公開メンバ関数 | |
def | __init__ (self, pattern=None) |
bool | Close (self, float waitTime=OPERATION_WAIT_TIME) |
bool | CanMaximize (self) |
bool | CanMinimize (self) |
bool | IsModal (self) |
bool | IsTopmost (self) |
int | WindowInteractionState (self) |
int | WindowVisualState (self) |
bool | SetWindowVisualState (self, int state, float waitTime=OPERATION_WAIT_TIME) |
bool | WaitForInputIdle (self, int milliseconds) |
公開変数類 | |
pattern | |
def uiautomation.uiautomation.WindowPattern.__init__ | ( | self, | |
pattern = None |
|||
) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationwindowpattern
bool uiautomation.uiautomation.WindowPattern.CanMaximize | ( | self | ) |
Property CanMaximize. Call IUIAutomationWindowPattern::get_CurrentCanMaximize. Return bool, indicates whether the window can be maximized. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentcanmaximize
bool uiautomation.uiautomation.WindowPattern.CanMinimize | ( | self | ) |
Property CanMinimize. Call IUIAutomationWindowPattern::get_CurrentCanMinimize. Return bool, indicates whether the window can be minimized. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentcanminimize
bool uiautomation.uiautomation.WindowPattern.Close | ( | self, | |
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationWindowPattern::Close. Close the window. waitTime: float. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-close
bool uiautomation.uiautomation.WindowPattern.IsModal | ( | self | ) |
Property IsModal. Call IUIAutomationWindowPattern::get_CurrentIsModal. Return bool, indicates whether the window is modal. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentismodal
bool uiautomation.uiautomation.WindowPattern.IsTopmost | ( | self | ) |
Property IsTopmost. Call IUIAutomationWindowPattern::get_CurrentIsTopmost. Return bool, indicates whether the window is the topmost element in the z-order. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentistopmost
bool uiautomation.uiautomation.WindowPattern.SetWindowVisualState | ( | self, | |
int | state, | ||
float | waitTime = OPERATION_WAIT_TIME |
||
) |
Call IUIAutomationWindowPattern::SetWindowVisualState. Minimize, maximize, or restore the window. state: int, a value in class `WindowVisualState`. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-setwindowvisualstate
bool uiautomation.uiautomation.WindowPattern.WaitForInputIdle | ( | self, | |
int | milliseconds | ||
) |
Call IUIAutomationWindowPattern::WaitForInputIdle. Cause the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first. milliseconds: int. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-waitforinputidle
int uiautomation.uiautomation.WindowPattern.WindowInteractionState | ( | self | ) |
Property WindowInteractionState. Call IUIAutomationWindowPattern::get_CurrentWindowInteractionState. Return int, a value in class `WindowInteractionState`, the current state of the window for the purposes of user interaction. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentwindowinteractionstate
int uiautomation.uiautomation.WindowPattern.WindowVisualState | ( | self | ) |
Property WindowVisualState. Call IUIAutomationWindowPattern::get_CurrentWindowVisualState. Return int, a value in class `WindowVisualState`, the visual state of the window; that is, whether it is in the normal, maximized, or minimized state. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationwindowpattern-get_currentwindowvisualstate
uiautomation.uiautomation.WindowPattern.pattern |