I have a Tasker job that calls an LL script.

I have a Tasker job that calls an LL script.

The problem is that I’m not sure how to pass the result of the script back to Tasker. Simple success or failure is all that I need.

I’ve looked at calling a Tasker intent from LL to set a variable, but it’s not clear that this would run within the context of the task that called LL in the first place.

What’s the best way to send a variable from an LL script to the Tasker job that called it?

]]>

2 Commentsto I have a Tasker job that calls an LL script.

  1. Anonymous says:

    < ![CDATA[

    i’m not sure this is possible in the same way that a Tasker parent task can receive a variable from a child task, but would be interested to find out



    a workaround could be to use the LL script to set a Tasker global variable, which is cleared at the start of the parent task, and in your parent Tasker task, use the Wait Until action to wait for this variable to be set by the LL script

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thanks. I really want to avoid the use of global variables in Tasker if I can help it. If I can’t help it, though, it will have to do in the absence of a better solution.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *