Forum Discussion

GAutomation's avatar
GAutomation
Frequent Contributor
6 years ago

how to select the random list from lslist table. it is string values

Function Selectvalue()
if Trim(UCASE(curobj.Exists))= "TRUE" then
Set recgText = OCR.Recognize.curobj
If recgText.BlockCount > 0 Then
Log.AppendFolder("Recognized text by blocks")
For i = 0 To int(recgText.FullText)
Randomize
Log.Message(recg.Block(i).Click)
Next
Log.PopLogFolder
End If
End Function
 
 
 
It gives me cannot convert string value. i want to select a random value from the listtable.