Closed phobo3s closed 6 months ago
Text
is a concatenation of Name
, Value
, DefaultAction
, Description
, Role
, Help
, HelpTopic
and KeyboardShortcut
.
Looks like in this case Help
was not supported, and that's the only one we don't have Error catches for so that makes some sense. I'll add, but I wish I knew a better way of doing this... Or even why these even throw errors. Are they just returning E_NOTIMPLEMENTED
?
i am using this function:
stdAcc.CreateFromHwnd(activeHwnd).PrintDescTexts("C:\Users\user.name\Desktop\test.txt")
and get this error at some point "Object doesn't support this property or method"when i trace the error back i found this; ` Public Sub PrintDescTexts(Optional ByVal sToFilePath As String = "", Optional ByVal bPrintToDebug As Boolean = True, optional ByVal sPath As String = "P", Optional ByVal fileNum As Long = 0)
End Sub `
i think not all child support .text method.