Skip to content

Add option to save exported variable list to variable #16

Open
@StephenGregory

Description

@StephenGregory

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @StephenGregory

        Issue actions

          Add option to save exported variable list to variable · Issue #16 · StephenGregory/TaskerJavaScriptHelpers