Loop until strText is empty?
Moderators: Dorian (MJT support), JRL
Loop until strText is empty?
Is there a loop that will continue until strText is empty?
- Dorian (MJT support)
- Automation Wizard
- Posts: 1358
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Loop until strText is empty?
This would keep looping indefinitely while strText contained a value. You'd put whatever strText code you're using inside the loop. For this example I used OCRArea.
Another way could be to loop while the length of strText >0
Code: Select all
Let>strText=hello
while>strText<>
//Example code
OCRArea>1220,655,1789,839,strText
endwhile
Code: Select all
Let>strText=hello
len>strText,lenstrText
while>lenstrText>0
//Example code
OCRArea>1220,655,1789,839,strText
len>strText,lenstrText
endwhile
Yes, we have a Custom Scripting Service. Message me or go here