>
Run JavaScript from a file and wait till it finishes.
Most Tasker actions are available via function calls.
Warning: code in the file will have access to local device files, data stores etc
See the JavaScript section of the Userguide for more information.