• 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
Aug 7, 2018
60
9
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
 
Upvote 0
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!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones