FEATURE REQUEST - Allow arguments in scripts

12 views
Skip to first unread message

Rohaq

unread,
Aug 11, 2010, 3:22:35 PM8/11/10
to Tasker - Feature Requests
I'm trying to run a python script that I wrote (with the Python
interpreter installed in ASE) that will send me an email after passing
the recipient email, subject and message body into it, however when I
try to run the script, I get the following error:

<code>
Script does not exist:
sendemail.py '<my email address>' '<my subject>' '<my body>'
</code>

It seems that it's checking for the entire string in the script list,
rather than running the script with the arguments.

I'm thinking that there needs to be a second text box underneath the
'script' box when you run it, in order to specify arguments.

And yes, I know that there's a 'Compose Email' action already, however
this just opens up my mail client with the data ready, rather than
sending the email.

BossMan

unread,
Aug 11, 2010, 4:58:53 PM8/11/10
to Tasker - Feature Requests
Good idea, but I guess it might take some time until it is processed
(and implemented) by Pent.

As for now you might try writing to a file everything you need and
then your script could use that specific file as input (without
specifying this in the command line).

BR,
A.

Rohaq

unread,
Aug 11, 2010, 5:11:49 PM8/11/10
to Tasker - Feature Requests
It's a shame that Tasker isn't more open source really - It'd be nice
to easily add modules to improve functionality.
Reply all
Reply to author
Forward
0 new messages