Finally the "include jQuery" bug is fixed in the latest beta, and now i can finally execute performTask from a javascript file, but the %pars are going nuts!
I lost ~2 hours hunting "my" bug but it looks like Tasker has some problems with parameters and sometimes it doesn't pass them.
I'm trying
function simulatePerformTask(stringOne, stringTwo){
alert(stringTwo);
flash(stringTwo);
performTask("Testing paremeters", 10, stringOne, stringTwo);
}
and alert alerts the string but flash says that the second parameter is "undefined".
What could be the problem?
Thanks!