This script is just a conversion of this page: https://tasker.joaoapps.com/tests/remote%20task%20execution%20example.html That was made by João Dias the owner of Tasker so all credits go to him.