omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. css459
    3. Posts

    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 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by css459

    • Copy and Paste Between Shortcuts Not Working As Expected

      Hello Maintainers,

      I'm experiencing an odd behavior with the clipboard while using scripts within a Shortcut. When a value is copied to the clipboard using clipboard.set(), the value exists as expected within the Pythonista app. However, when moving back to Shortcuts (as I do using shortcuts.open_shortcuts_app() in my script), the clipboard does not contain the new value, but the previous value that was already in the clipboard. The value is only set once running the script twice, presumably making the intended value the previous value.

      Should I be passing data (base 64 data) a different way to Pythonista? It appears that reading from the clipboard is not an issue, but setting does not seem to work. Is there a workaround I can use for now?

      If it helps, I am running iOS 13.6.1 on my iPad Pro and launching Pythonista via "Open URLs"

      Thanks for your help!

      posted in Pythonista
      css459
      css459