Greetings,

 

I’d go with If statements using the Rule command:


if Rule(“cond1&cond2”)…

 

This would also allow you to use:

If Rule(“Timeout”) instead of using a loop counter.

 

You can see the current row , column using the properties Row and Col

And the View command will return data from the screen.

 

But to me, doing that is basically reinventing the Rule command…

                

Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx>
up for my weekly webinar!

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell
Sent: Friday, March 21, 2008 1:10 PM
To: [email protected]
Subject: [Talk] Using AT() with Select Case

 

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

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



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

 

<<image001.png>>

Reply via email to