Morgan
10 years agoFrequent Contributor
Incrementing an action
I'm trying to create a little script that loops through a dropdown to find the desired value. Can someone direct me as to an example? Thanks, Morgan
Initial code looks as follows.... what's not working is that the [Down] needs to increment each time. So first time, one down action is needed, second 2, etc...
Thanks!
Morgan
----
repeat // If X appears in the list, we select it and continue.
grdAnalyte.Keys(' ');
grdAnalyte.Keys('[Down][Enter]');
Delay(Std_Wait);
until frmAnalyte.Window('TDBGridInplaceEdit', '', 1).text = 'X';