|
uiautomation
|
公開メンバ関数 | |
| def | __init__ (self, pattern=None) |
| bool | IsReadOnly (self) |
| str | Value (self) |
| bool | SetValue (self, str value, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
| pattern | |
| def uiautomation.uiautomation.ValuePattern.__init__ | ( | self, | |
pattern = None |
|||
| ) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationvaluepattern
| bool uiautomation.uiautomation.ValuePattern.IsReadOnly | ( | self | ) |
Property IsReadOnly. Call IUIAutomationTransformPattern2::IUIAutomationValuePattern::get_CurrentIsReadOnly. Return bool, indicates whether the value of the element is read-only. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationvaluepattern-get_currentisreadonly
| bool uiautomation.uiautomation.ValuePattern.SetValue | ( | self, | |
| str | value, | ||
| float | waitTime = OPERATION_WAIT_TIME |
||
| ) |
Call IUIAutomationTransformPattern2::IUIAutomationValuePattern::SetValue. Set the value of 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-iuiautomationvaluepattern-setvalue
| str uiautomation.uiautomation.ValuePattern.Value | ( | self | ) |
Property Value. Call IUIAutomationTransformPattern2::IUIAutomationValuePattern::get_CurrentValue. Return str, the value of the element. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationvaluepattern-get_currentvalue
| uiautomation.uiautomation.ValuePattern.pattern |