Scripter is a task automation app for Android which gives you greater control over your device by allowing you to explain simple logic in JavaScript which can be used to run tasks automatically in the background. The app was written by Amy Leitch and me as our third year project while studying at DCU and is now completely open source.
You can write scripts using JavaScript and our API (details of which are in the Help section of the app) in order to perform tasks on your device based on certain triggers. An example script can be found below:
var dependencies = ["latitude", "longitude"];
if (withinMeterRadiusOf(15, 37.4223, -122.082)) {
turnOnSilent();
}
This script listens for changes in the position of the device and when the current location of the device is within 15 meters of the Googleplex building in California (which exists at 37.4223, -122.082) it will turn silent mode on. This is an example of one of the many possible uses of Scripter!
- Amy Leitch
- Graham Bartley