I found this variable in a old script and i did not found anything about its function. It is not contained in the code and it could have something to do with the waitwindow-command.
//downTime for WaitWindowOpen> function
Let>WW_downTime=10
WW_downTime
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 58
- Joined: Mon Jun 27, 2005 7:03 am
- Location: Switzerland
Hi,
That is not a system variable. Maybe the coder meant WW_TIMEOUT which is used to set the timeout time for WaitWindowOpen.
That is not a system variable. Maybe the coder meant WW_TIMEOUT which is used to set the timeout time for WaitWindowOpen.
MJT Net Support
[email protected]
[email protected]
-
- Pro Scripter
- Posts: 58
- Joined: Mon Jun 27, 2005 7:03 am
- Location: Switzerland
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Well it won't do anything if set *after* WaitWindowOpen. If your window is always appearing then you won't see any different behaviour. If the window does not appear within the timeout then the script will move to the next line. But it's pretty pointless unless you then check the result of the operation to determine whether or not the window timed out and do something different if it did. Just whacking Let>WW_TIMEOUT=10 in front of a WaitWindowOpen which always works will make no noticeable difference. It is there to allow you to cope with situations where the window does not appear and is only useful in conjunction with WW_RESULT:
Let>WW_TIMEOUT=30
WaitWindowOpen>microsoft word*
If>WW_RESULT=TRUE
MessageModal>Word appeared
Else
MessageModal>Word has not opened within 30 seconds timeout
Endif
Let>WW_TIMEOUT=30
WaitWindowOpen>microsoft word*
If>WW_RESULT=TRUE
MessageModal>Word appeared
Else
MessageModal>Word has not opened within 30 seconds timeout
Endif
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 58
- Joined: Mon Jun 27, 2005 7:03 am
- Location: Switzerland