|
uiautomation
|
公開メンバ関数 | |
| def | __init__ (self, pattern=None) |
| bool | CanMove (self) |
| bool | CanResize (self) |
| bool | CanRotate (self) |
| bool | Move (self, int x, int y, float waitTime=OPERATION_WAIT_TIME) |
| bool | Resize (self, int width, int height, float waitTime=OPERATION_WAIT_TIME) |
| bool | Rotate (self, int degrees, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
| pattern | |
| def uiautomation.uiautomation.TransformPattern.__init__ | ( | self, | |
pattern = None |
|||
| ) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationtransformpattern
| bool uiautomation.uiautomation.TransformPattern.CanMove | ( | self | ) |
Property CanMove. Call IUIAutomationTransformPattern::get_CurrentCanMove. Return bool, indicates whether the element can be moved. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanmove
| bool uiautomation.uiautomation.TransformPattern.CanResize | ( | self | ) |
Property CanResize. Call IUIAutomationTransformPattern::get_CurrentCanResize. Return bool, indicates whether the element can be resized. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanresize
| bool uiautomation.uiautomation.TransformPattern.CanRotate | ( | self | ) |
Property CanRotate. Call IUIAutomationTransformPattern::get_CurrentCanRotate. Return bool, indicates whether the element can be rotated. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanrotate
| bool uiautomation.uiautomation.TransformPattern.Move | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | waitTime = OPERATION_WAIT_TIME |
||
| ) |
Call IUIAutomationTransformPattern::Move. Move the UI Automation element. x: int. y: int. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-move
| bool uiautomation.uiautomation.TransformPattern.Resize | ( | self, | |
| int | width, | ||
| int | height, | ||
| float | waitTime = OPERATION_WAIT_TIME |
||
| ) |
Call IUIAutomationTransformPattern::Resize. Resize the UI Automation element. width: int. height: int. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-resize
| bool uiautomation.uiautomation.TransformPattern.Rotate | ( | self, | |
| int | degrees, | ||
| float | waitTime = OPERATION_WAIT_TIME |
||
| ) |
Call IUIAutomationTransformPattern::Rotate. Rotates the UI Automation element. degrees: int. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-rotate
| uiautomation.uiautomation.TransformPattern.pattern |