• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Tasker] wait based on Variable Value

ldm1417

Member
Hi All,

The Tasker has a 'wait' command, which may wait for any period of time. But you need to define an exect wait time.

But, is it possible to implement a similar command (wait), where the wait time is set by a variable (let say 'wait for %XXX sec' while %XXX is a variable)?

Actually I want to change the wait time externally from the task.

Thank you!
 
In the Wait tap the two crossed arrows on the far righrt of Seconds. It will prompt you for a variable name. Use it like …

Dev4
A1: Variable Set [ Name:%MyTime To:5 Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Wait [ MS:0 Seconds:%MyTime Minutes:0 Hours:0 Days:0 ]
A3: Flash [ Text:%MyTime Long:Off ]

… Thom
 
Hi All,

The Tasker has a 'wait' command, which may wait for any period of time. But you need to define an exect wait time.

But, is it possible to implement a similar command (wait), where the wait time is set by a variable (let say 'wait for %XXX sec' while %XXX is a variable)?

Actually I want to change the wait time externally from the task.

Thank you!
 
Back
Top Bottom