I have some code that I created on a smart object. In the group , the top level is called KEY. Well when I copy the object, the new copy becomes KEY1.. then KEY2 etc. Well in my script I have:
Set oPermObj =CimGetScreen.Object.Objects.Item("Key1").Objects. Item(xxxx"
every time I bring in a new object it renames the new one to KEY2 etc. Hopw can I ovoid that or fix the code to look at the top level no mater what? Any ideas ?
Set oPermObj =CimGetScreen.Object.Objects.Item("Key1").Objects. Item(xxxx"
every time I bring in a new object it renames the new one to KEY2 etc. Hopw can I ovoid that or fix the code to look at the top level no mater what? Any ideas ?