Has anyone used the AT command with a Select Case statement?

 

I would like to do something along the lines of the following:

 

Do Until At ("[EMAIL PROTECTED],1")

        Select Case At(ScreenCondition)

                Case "Select [EMAIL PROTECTED],1&@2,0"

                        Enter MTUniverse

                        Wait 0.5

                Case "[EMAIL PROTECTED],1&@20,0"

                        Enter MTUsername

                        Wait 0.5

                Case "[EMAIL PROTECTED],1&@21,0"

                        Enter MTPassword

                        Wait 0.5

                Case "[EMAIL PROTECTED],1&@22,0"

                        Enter MTLiveHCIS

                        Wait 0.5

        End Select

        Wait 0.5

        LoopCount = LoopCount + 1

        If LoopCount = 120 then

                Exit Do

        End If

Loop

 

I know the above isn't right. Likely I need to be doing something else.
Is there a function to read the current screen? Would it be better to
just do a bunch of if statements?

 

 

Thank you,

Mitch Lawrence

Lead Applications Analyst

Technical Support - NPR/Automation

CHRISTUS Information Management

*: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

 

Send a "thank you
<http://intranet.christushealth.org/spiritBuck/Default.asp> " to
someone!

 

<<image001.png>>

Reply via email to