Help with JavaScript standards

Discussion in 'Tasker' started by Daniel D, Nov 26, 2017.

  1. Daniel D

    Daniel D Member

    Joined:
    Feb 11, 2015
    Messages:
    127
    Likes Received:
    11
    Hi there!
    Been trying to use JavaScript inside tasker for some intensive data processing (equivalent of more than 50 Tasker actions). And, since I'm learning JavaScript at the same time, I've used the w3schools.com resources to learn and test my code. But it seems that the code on w3schools.com doesn't work inside Tasker.
    So my question is: is there a JS reference that can be used for Tasker?
    Thanks!
    PS: For example split() function doesn't seem to work inside Tasker.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. Check here please: http://tasker.dinglisch.net/userguide/en/javascript.html

    Hope this helps!
     
  3. Daniel D

    Daniel D Member

    Joined:
    Feb 11, 2015
    Messages:
    127
    Likes Received:
    11
    I've checked and double checked that page. It doesn't help... I've read somewhere that there are more than one revisions of JavaScript and it looks like Tasker doesn't support every method.
    Maybe I should just go for the formerly named SL4A and code things in Python. But, as far as I remember that's not 100% straight forward to install (that's why I tried JS).
    Thanks anyway!
     
: taske, javascript

Share This Page