omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Return from shortcut

    Pythonista
    3
    5
    76
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ihf
      ihf last edited by

      I know how to call a shortcut from a Pythonista script (doesn’t seem to have changed in the beta?) but how do I call the script and have it return to Pythonista after running rather than staying in the Shortcuts app?

      cvp omz 2 Replies Last reply Reply Quote 0
      • cvp
        cvp @ihf last edited by

        @ihf did you try https://support.apple.com/guide/shortcuts/use-x-callback-url-apdcd7f20a6f/ios

        1 Reply Last reply Reply Quote 0
        • ihf
          ihf last edited by ihf

          @cvp thanks, that worked! Since I didn’t construct the X-callback URL to do this in Pyto (just used their shortcuts module, I wondered whether I needed to do anything different in Pythonista.

          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @ihf last edited by

            @ihf said

            that worked

            👍

            1 Reply Last reply Reply Quote 0
            • omz
              omz @ihf last edited by

              @ihf You can also use the shortcuts.open_shortcuts_app() function.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors