Oops, false on my last.

When downloading statements generated by Meditech a windows dialog box
opens.  In order to send the keys to the dialog box I was using a Connect
"Save As", stWindows command.  Once the file starts it's download, I then
used the Connect "MeditechNUI", stStream to make Meditech the active window
(with out reconnecting to meditech, BWS stayed connected the "Save As"
window and the script would error out).  This was with the old version of
meditech.  Since the new version of the NUI connection does not need the
"@_Dialog:" commands, I thought I would give it a try. When I use the same
technique above BWS will connect to the "Save As" window, and send the keys
needed.  But I have been unable to have BWS reconnect to MeditechNUI, and so
the script errors out on the next set of rules.


Brian Bennett
Affinity Health Systems
PBS\Clinic Billing
(920)628-9055
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Wednesday, January 09, 2008 10:26 AM
To: [email protected]
Subject: RE: [Talk] For|Next rule

Greetings,
Can you let me know why you'd need to reconnect / Activate? That will help
me explain what to do. The new NUI works a bit differently than the
NUIServer approach.
Regards,
Thom

Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com
 
Sign 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.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bennett, Brian
Sent: Wednesday, January 09, 2008 10:59 AM
To: '[email protected]'
Subject: RE: [Talk] For|Next rule

Thanks Thom.  I'll see if I can get that to work.

One more quick question....If I am using the New NUI connection
(stMeditechNUIex) and I connect to an stWindows how do I reconnect, or
activate the NUI connection?  Connect "MeditechNUI" does not connect, but
gives a "Cannot start Meditech" error.  I assume because the command is
looking to open a new MeditechNUI connection 

Thanks.
Brian Bennett
Affinity Health Systems
PBS\Clinic Billing
(920)628-9055
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Wednesday, January 09, 2008 9:29 AM
To: [email protected]
Subject: RE: [Talk] For|Next rule

Greetings,
Sounds to me what you want need to do is retain the value stored in T?
Meaning you want to basically enter in, in the same place:
T-1
T-2
T-3
Respectively?
And check after each to see if an Error occurred?

Attached is a sample project showing how I'd attack this. Of course this
will require being grafted into your script = but hopefully it illustrates
the point.

Regards,
Thom


Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com
 
Sign 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.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bennett, Brian
Sent: Wednesday, January 09, 2008 9:46 AM
To: '[email protected]'
Subject: [Talk] For|Next rule

Can the following be done with a rule?

For i=1 to 3
T = "T-" & i
Next i

If I direct the rule in a step to a sub routine that does the for|next the
only answer I get is T-3, always skips over T-2 and T-1.  I have the
following: (the only way I could conceive a solution)

If Rule("Print [EMAIL PROTECTED],1&@3,16") Then
            For i = 1 To 3
            T = "T-" & i
            Stable 0.5
            Enter T
            Stable 0.5
            Enter T
            Stable 0.5
            If At("[EMAIL PROTECTED],1") Then
                        Step = "Stmnt Error"
                        EDI_Transmit
                       Else
                       Step = "Download Statements"
                       EDI_Transmit
            End If
            Next i
            Exit Sub
        End If

If I F8 step through it it works fine.  As soon as I go full speed it will
enter the first range correctly, the second time through it will enter T-2
and then t-3 instead of t-2 and t-2.

Any thoughts?  I'm not finding anything that looks familiar in Talk
archives.

Thanks.

Brian Bennett
AHS Clinic Billing
System Analyst
920-628-9015

Reply via email to