Hi Everyone,
I am trying to get all the Child objects but not working.
Sys.Process("ACD").VBObject("fcash").VBObject("img_8")
The Name of VBObject("fcash") change dynamically like fcash_2,fcash_3,. So I need to get the name of the VBObject. Below is my code, but not working. Can any one help me???
Code:
Function PanelObj()
PropArray=Array("ACD","Enabled")
PropValue=Array("fcas*",True)
panel= Sys.Process("ACD").FindAllChildren(PropArray,ValueArray, 2000)
If UBound(panel) >=0 Then
For i=0 to UBound(panel)
Log.Message (panel(i).Name)
Next
End IF
End Function
Please help!!!