SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: delay 400000 ms

  1. #1
    Member
    Join Date
    Feb 2004
    Location
    Mumbai
    Posts
    81
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    delay 400000 ms

    I have a script which executes 42 functions. For 42 functions script works fine. But functions are getting increased up to 400 functions its taking time and robot showing an error message 'time out'. How do i resolve this issue?
    delay between script is 400000ms.

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Location
    Austin, TX, USA
    Posts
    1,489
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: delay 400000 ms

    Its best not to use hard-coded delays when at all possible. Find some other event that occurs such as a window appearing, a file being written, etc. What kind of time out message are you getting? If the script is expecting a window to be there, put a check for that window in a loop so that the script will wait until it appears.

  3. #3
    Senior Member
    Join Date
    Oct 2001
    Location
    Presov, Slovakia
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: delay 400000 ms

    My personal recommendation is not to create big scripts. The reason is that if something fail in the beginning of the script the rest of the script may fail because of this failure.
    If you want to give somebody a fish, you'll do better if you teach him how to catch it.

    Marek Fric
    ICQ# 114486928

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 04:04 AM.

Copyright BetaSoft Inc.