uiautomation
uiautomation.uiautomation.ValuePattern クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
bool IsReadOnly (self)
 
str Value (self)
 
bool SetValue (self, str value, float waitTime=OPERATION_WAIT_TIME)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.ValuePattern.__init__ (   self,
  pattern = None 
)
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationvaluepattern

メソッド詳解

◆ IsReadOnly()

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

◆ SetValue()

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

◆ Value()

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

メンバ詳解

◆ pattern

uiautomation.uiautomation.ValuePattern.pattern

このクラス詳解は次のファイルから抽出されました: