1

Tasker is making this simple task complicated.

I am doing a "Send Intent" action within a task and I need the extra 1 and extra 2 to be a string concatenated to a number variable concatenated to another string.

In most languages it'd be something like

extra1 = "str1:" + integer + "str2"

It'd be easier if there were spaces between the strings; it'd just be str1 %integer str2, but there are no spaces to separate things out.

How do I accomplish this?

  • In which language does Tasker "scripts" work? – Grimoire Jul 11 '16 at 7:54
  • @DeathMaskSalesman Tasker scripts are Tasker's own special language. – Dan Hulme Jul 11 '16 at 12:57
  • @DanHulme Oh, I see. Then I can't help, sorry. – Grimoire Jul 11 '16 at 14:15
  • I found that Tasker supports javascript snippets, I opted to do most of my coding in that. Tasker's coding setup is painful at best. – Slight Jul 14 '16 at 21:25
1

Set a new variable with To field as %var1%var2%anyvarname

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.