1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MSGBOX timeout limits

Discussion in 'Support' started by ron, Jun 28, 2015.

  1. ron

    ron

    Joined:
    Aug 19, 2008
    Messages:
    140
    Likes Received:
    0
    What's the max value for /T ?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,991
    Likes Received:
    84
    2147483647 seconds (a little over 68 years).
     
  3. ron

    ron

    Joined:
    Aug 19, 2008
    Messages:
    140
    Likes Received:
    0
    Impressive, just what I needed :-)

    Is that a new feature in v18? In v17, /t9999 yields 10 seconds.
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,054
    Likes Received:
    30
    Hmmm! If I specify any number greater than 999, I get 10 seconds (just like v17).
     
    ron likes this.
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,991
    Likes Received:
    84
    TCC was parsing the requested time correctly; however an RTL function was doing a "sanity check" and deciding that anything > 1000 should be set back to 10. I've changed the RTL source for the next build. (Though I'm unclear *why* anybody would want to set a timeout of a few weeks (or years).
     
  6. ron

    ron

    Joined:
    Aug 19, 2008
    Messages:
    140
    Likes Received:
    0
    Well, here's the justification. I'm doing my own sanity check on some files that come from a remote location - daily. On rare occasions the remote location has a problem where the files are not produced and therefore do not show up on my machine. I wanted a popup to get my attention if necessary each morning, but didn't want a screen full of them if I were out for a week or longer. So I though an 8 hour timeout would suffice :-)

    I guess I could just have task scheduler kill the process if it runs for more than 8 hours and accomplish the same thing.

    I suppose this fix will only be in v18?
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,991
    Likes Received:
    84

Share This Page