Microsoft on Tuesday unveiled a new app and set of APIs called on{x}, which pushes smartphone automation to new heights. The app allows users to write custom scripts that automate various smartphone functions based on time, location and a number of parameters similar software does not currently support. On{x} opens the door to a wide range of functionality that isn’t widely available anywhere else, but for the time being, users with smartphones powered by Microsoft’s own Windows Phone platform won’t have access to any of it.

In a demonstration video posted by Microsoft on Tuesday, Microsoft researchers provide a number of intriguing examples of functionality that might be automated by on{x}. In one example, the app automatically sends a text message to the user’s boyfriend when she leaves work to let him know she is on her way to meet him. In another, the app’s “modeOfTransport” API is utilized to make a smartphone automatically adjust its settings based on whether the user is walking, running or driving a car.

While writing the scripts to trigger various actions does require some programing knowledge, Microsoft includes a number of “recipes” for various actions on its on{x} website that can be pushed to devices without any alterations needed on the part of the user. Users can manage all of their recipes on the on{x} website as well, and new ones can easily be sent to devices right from the site’s control panel.

So what’s the catch? In an interesting twist, on{x} is only available for Android devices.

A video showcasing the new app follows below.