Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is the global Waitfor Timeout default changeable ?

Status
Not open for further replies.

dgbear

Technical User
Feb 12, 2005
3
0
0
US
The aspect command "waitfor" has a default timeout of 30 seconds. One can change the timeout by appending a number at the end of each waitfor line... but is there a way to change the global default from 30 seconds to some other value ?

Example: set aspect waitfor_timeout 10

Thanks in advance,

DG
 
Hi
I don't think that's possible.
But you can set a integer to change all the timers at one time.
example:
integer Itimeout1 = 10, Itimeout2 = 20

waitfor "something" Itimeout1

waitfor "something2" Itimeout1

waitfor "something3" Itimeout2

- like this you can control the timeout even with two or more different timers

bye ... good scripts
 
Thanks for the input...

I though about that... Its a great solution but I still would have to go back and add the variables to each "waitfor" line.

I was hoping to just add one global setting that would apply to the script. Often I find myself wanting a faster timeout when debugging etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top