Ticket #278 ( Closed )

Short Description Repeat command after n seconds
Entered By: gaucho When: 1999-04-06 19:59:46 Build: 1.03.25d
Categories Type: Question   Department: Product   Category: SurferScript
Description
I apologize firsthand for this coding question, but I have no idea on how to do this.
here's the flow:
Go to login screen
enter username and password
if at screen 1 1 is "comulg0006" then 
 wait 15 seconds then
 reenter username and password
end if
go to next screen
mainly I need to know how to code the middle part. notice I'm using 1.03.25d

thanks

Append By: WindSurfer  When: 1999-04-07 07:30:24  New Status: Pending Customer
Comment Middle part:
<TEACTION ENTER 
   web.username+"[tab]"+web.password+"[enter]" skipcode>
<TEIF Screen(1,1,10)=="comulg0006">
  <TEFIND text="bozoainthere"
        VarRoot=Found
        StartRow=1
        EndRow=1
        timeout=15000>
  <TEACTION ENTER 
     web.username+"[tab]"+web.password+"[enter]" skipcode>
</TEIF>
<TEACTION RETURN WITHSCAN> <!--display next screen -->
You can also have a section that identifies the comulg006, and if it is there, do the fake TEFIND (to get a 15 second sleep), then do the TEACTION ENTER of the userid & password. Note that in this second approach, you would NOT use the skipcode.