Forum Archive

Launcher in Notification Center

jwt2d31

Launcher.py

This is a script using scene to have two purposes:
* Add some local notifications with URL scheme to do some actions ( launch app or user action )
* Show a simple UI to launch app based on the touch position.

The UI content can be customized by modifying key_names[] in scene setup.
The local notifications can be customized at the end of the script.

I created this script so that I can switch some common apps easily. Also, I can take some user actions ( make a call ) in two steps.

Known issues when Pythonista is not in background:
* It is needed to start the script manually.
* URL scheme in local notification will be ignored.

Please let me know if you run into any bugs or any suggestions. Thanks.

Here's the gist:
https://gist.github.com/jwt2d/6120070

filippocld223

there are many bugs....in 1 week I'll commit an update.....trying to improve the script :-)

filippocld223

Done. see my fork