Why not wait for what happens after the window closes. IE, the cursor in
a position right after the window closes.

 

 

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!

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Davy Montgomery
Sent: Friday, February 08, 2008 12:39 PM
To: '[email protected]'
Subject: [Talk] Wait for Window to Close

 

Hello all I have a basic question.  I want to wait for a window to
close.  Currently I'm doing this I would love to know if there is a
better way of approaching the problem.  I'm still fairly new to the
product and learning my way around.  I wondered about using the "Active"
command; but I wasn't sure how I would know the name of the stream.

 

Dim WindowClosed As Boolean
WindowClosed = False
On Error Resume Next
Err.Clear
Do Until WindowClosed = True
    Activate "AdminaStar Federal Express"
    If Err.Number <> 0 Then
        WindowClosed = True
    End If
    Wait 30
Loop

 

 

Thanks,
Davy


CONFIDENTIALITY NOTICE: This email message, including attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and
destroy all copies of the original message.



<<image001.png>>

Reply via email to