It would be VERY beneficial if we could get values into Tasker, say
from STDOUT or STDERR. RIght now Corey Z's Secure Settings plugin can
run shell scripts that can write STDOUT and STDERR to variables; maybe
talk to him about implementing it for SL4A?
I use Perl religiously (well I did anyway, but I'd love to start up
again) and would use SL4A all the time if I could have (a) the ability
to get values like discussed; and (b) the ability to run scripts as
root.
On Sep 5, 5:54 pm, baudi <
dch...@gmail.com> wrote:
> The SL4a developer suggested that I try to gauge the interest of people in
> being able to invoke Tasker actions from SL4A.
>
> Here's an example: Use Tasker to call an SL4A "Sunrise.py" script.
> Sunrise.py would use pyEphem to calculate tomorrow's sunrise time, then
> Invoke a tasker action to store the value of sunrise in a tasker variable.
> That variable could then be used by any Tasker action. It's possible to do
> the first part of that now: call Sunrise.py. But the only way to get values
> back into Tasker is to put them in the clipboard or into a file -- kind of a
> kluge.
>
> What I see is a library of SL4A scripts like this that Tasker users could
> easily invoke to provide data and services that are otherwise unavailable in
> Tasker. For example, the sunrise.py script could also calculate sunset, and
> civil twilight. There are many, many other incredible python modules (see this
> link <
http://wiki.python.org/moin/UsefulModules>) that could dramatically
> extend the capabilities of Tasker using SL4A.
>
> If you would like to see SL4A support the Tasker interface, please support this
> enhancement request<
http://code.google.com/p/android-scripting/issues/detail?id=568>
> .