SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 1999
    Location
    Boston
    Posts
    65
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Verify window exists, using looping statment.

    Forgive what i believe to be such i simple question being posted here, however i cannot spend much time trying to figure this out. I want to verify a window exists, like for example; I start to run a script that install's our app. within installshield i wait until the first dialog appears. I use the sleep statement, which isn't very efficient. I need something that won't execute another block of script until the window has appeared. Any idea's on this would be greatly appreciated.

    [This message has been edited by matrixed (edited 02-01-2000).]

  2. #2
    Guest

    Re: Verify window exists, using looping statment.

    Try using a while loop such as:


    [This message has been edited by John Burross (edited 02-02-2000).]

  3. #3
    Member
    Join Date
    Sep 1999
    Location
    Boston
    Posts
    65
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verify window exists, using looping statment.

    Thanks guys it worked!

  4. #4
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verify window exists, using looping statment.

    You can download the QAPLIB #1 from the downloads section. In it there are a couple of functions WaitFor () and WaitGone ()

    Those are what you need... they're way better than Sleep (1). Try em

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:34 AM.

Copyright BetaSoft Inc.