MCPcopy
hub / github.com/cluic/wxauto / GetPropertyValue

Method GetPropertyValue

wxauto/uiautomation.py:5741–5748  ·  view source on GitHub ↗

Call IUIAutomationElement::GetCurrentPropertyValue. propertyId: int, a value in class `PropertyId`. Return Any, corresponding type according to propertyId. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomati

(self, propertyId: int)

Source from the content-addressed store, hash-verified

5739 return self.Element.GetCurrentPatternAs(patternId, riid)
5740
5741 def GetPropertyValue(self, propertyId: int) -> Any:
5742 """
5743 Call IUIAutomationElement::GetCurrentPropertyValue.
5744 propertyId: int, a value in class `PropertyId`.
5745 Return Any, corresponding type according to propertyId.
5746 Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-getcurrentpropertyvalue
5747 """
5748 return self.Element.GetCurrentPropertyValue(propertyId)
5749
5750 def GetPropertyValueEx(self, propertyId: int, ignoreDefaultValue: int) -> Any:
5751 """

Callers 1

uiautomation.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected