How to Access Dynamic Objects during run-time ?
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".
Use Programmatic Descriptions
you mean dealing with the objects using one of its main properities!
We can access dynamic objects during runtime by creating Description objects.
A piece of code for clicking a WebButton
'Create the WebButton Description Object
Set WBDesc = Description.Create()
WBDesc("micclass").Value = "WebButton"
WBDesc("class").Value = NULL
WBDesc("name").Value = NULL
WBDesc("html id").Value = NULL
'Access the WebButton
WBDesc("name").Value = "SAVE"
This will click the SAVE Button