Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to save exported variable list to variable #16

Open
StephenGregory opened this issue Oct 21, 2020 · 0 comments
Open

Add option to save exported variable list to variable #16

StephenGregory opened this issue Oct 21, 2020 · 0 comments

Comments

@StephenGregory
Copy link
Owner

Sometimes I forget what variables I set in a task and have to refer back to the JavaScript to see what I named them. It'd be convenient if a variable was exporting containing that information.

For example, for a helper that does this:

Tasker.setLocalVariable('foo', [1,2,3]);
Tasker.setLocalVariable('bar', "this is wonderful");

Have it internally set jsdebug to:

JS set the following local variables:
Arrays: foo
Strings: bar

So in the Tasker task:

  • JavaScript action
    • calls above helper
  • Flash action
    • flashes %jsdebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant