omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. jwt2d31

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    jwt2d31

    @jwt2d31

    0
    Reputation
    470
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jwt2d31 Unfollow Follow

    Latest posts made by jwt2d31

    • Launcher in Notification Center

      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

      posted in Pythonista
      jwt2d31
      jwt2d31
    • Bug: Run a Script when Pythonista is Closed

      If Pythonista is already launched, the execution of URL scheme will be fine.

      If Pythonista is closed or idle for a long time, the execution of URL scheme is not consistent. Here are some result I have tried:

      • The last editing script is shown and the desired script in URL scheme will run after a long delay.
      • The last editing script is shown but the desired script will not run
      • "No script loaded" is shown and ask for script to open. Also, the desired script will not run

      In all cases, there is no problem if the URL scheme is executed again.

      posted in Pythonista
      jwt2d31
      jwt2d31