Forum Discussion
Mpeterson
14 years agoOccasional Contributor
Ok I have it working, the eval was the ticket to turn my string into an object so i could address it with the ClickedChecked Command.
CB = (checkBoxes.innertext); //looks at the indexed object at this point and passes the value of innertext to the variable 'CB'
CB1 = (checkBoxes1.Name); //looks at the indexed object at this point and passes the value of Name to the variable 'CB1'
CB2 = (checkBoxes2.Name);
CB6 = (w.FullName);
Log.Message(CB);
CB7 = eval(CB6+"."+CB2+"."+CB1); //combine my string variables use eval to turn it into an object
CB7.ClickChecked(DDT.CurrentDriver.Value(CB));
Thanks ,
Mark
Related Content
- 11 years agoashok_natar
- 5 years agosenthkum