|Auto Task Generation||Peter Ten Eyck||6/25/13 1:01 PM|
Is there a way to create a task that creates a task?
For example: using AutoVoice to have a conversation with your phone. If the voice command isn't recognized, say "what should the response be?" and then automatically create a task and profile that links the response with the given key word.
Tasker then creates a new profile using AutoVoice, triggering when it registers the phrase "I'm angry" (I could do some algorithmics to find keywords, but that's not in the picture right now) and launching a task that says "What are you angry about?" So the next time I tell my phone I'm angry, it will ask why. I didn't have to make the task myself; Tasker did it for me.
I posted this on r/Tasker on reddit and was told I might get some good answers here.
|Auto Task Generation||TomL||6/25/13 5:15 PM|
I have no idea about how to programmatically create profiles, but one way to programmatically edit tasks is to build a static framework of tasker actions that do these steps:
1. check if external/bootstrap.js is newer than local/bootstrap.js
Now just put all other code and future code changes in bootstrap.js