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

Added the ability to use Tasker variables as arguments for scripts. #8

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

TheNothingMan
Copy link
Contributor

I added the ability to use Tasker variables as parameters for Termux scripts. From my point of view, everything works as expected. The arguments are stored as a simple string and converted to a String Array when the plugin receives a fire intent. Quoted strings are kept together, while the arguments are splitted on spaces. This way you can just write the commands as you would in a shell.
Using Tasker variables works, though one has to type them manually in the configuration dialog.
It would be great if this could be part of the official app, since using an own build will interfere with the main apps package signature and thus would require to also build Termux. This way you can't benefit from PlayStore updates to the official main app.

@fornwall fornwall merged commit 8ea25bd into termux:master Sep 14, 2017
@fornwall
Copy link
Member

Thanks, nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants