Wait for trigger Action

vyros4u

New member
Please what is the timeout for wait for trigger action?
If possible can we get auto cancel timeout for Wait for trigger action. Thanks
 

Dm114

Well-known member
Please what is the timeout for wait for trigger action?
If possible can we get auto cancel timeout for Wait for trigger action. Thanks
As far as I know, there is no maximum timeout. It's up to you to add a timeout constraint.
 

Endercraft

Moderator (& bug finder :D)
You can have a regular interval with the other trigger to wait for but it's hard to know which trigger actually ended the wait. It's useful when you have for example a wait for screen content but the trigger fails for some reason so you can have a fallback trigger.

You could first launch a stopwatch, wait for trigger AND stopwatch in wait for trigger action then see if the stopwatch duration is more than what you set in your wait for trigger action.
 
Last edited:

Endercraft

Moderator (& bug finder :D)
So.. how does it cancel subsequent actions with the interval trigger
You can have a regular interval with the other trigger to wait for but it's hard to know which trigger actually ended the wait. It's useful when you have for example a wait for screen content but the trigger fails for some reason so you can have a fallback trigger.
You could first launch a stopwatch, wait for trigger AND stopwatch in wait for trigger action then see if the stopwatch duration is more than what you set in your wait for trigger action.
My workaround should work just fine. Make sure the constraint to timeout with stopwatch is
If stopwatch > (time you set in wait for trigger - 1 second).
 

Dm114

Well-known member
So.. how does it cancel subsequent actions with the interval trigger
After Wait Untill Trigger use Read Screen Contents action. If strings match it's ok. Otherwise the macro resumed due to timeout, so you can do whatever you want to do in this case ..
 

vyros4u

New member
Thanks for the feedback, all suggested workaround are good but I wish wait for trigger action get it own auto cancel timeout..
 
Top