I am trying to fetch textual properties of an object.In this case I have taken a notepad and trying to fetch properties via below snippet.But my problem is I am able to get all the properties including the properties whose value is an object.How can I restrict the same?
Snippet goes as follow:
Public Function Object_getObjectProperties(oInteraction)
Set props = aqObject.GetProperties(oInteraction.guiObject, false)
sProperties = ""
While props.HasNext
Set prop = props.Next
If(sProperties<>"") Then
sProperties = sProperties + INSTRUCTION_VALUE_SEPARATOR + prop.Name
Else
sProperties = prop.name
End If
Wend
Object_getObjectProperties = sProperties
End Function