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.
website to app redirect
-
Does anyone know how the base64 value is generated which can redirect you to an app on the ios device? An example of this is when pythonista does the standalone app thing. Does anyone have the script or know how it works?
-
@aidensala If I correctly understand, see here
-
@cvp my question is similar, but more of, if i wanted to open certain apps via a web url in safari would i be able to do so? and could i generate the links in pythonista?
-
@aidensala use webbrowser with url scheme of the app you want to start, like
import webbrowser url = 'mailto:' webbrowser.open(url)
Edit: if the url is an http, script will open a browser in Pythonista. Else, it will open the asked app.
Edit: but why do you need base64?
Edit: example, to open the iOS Shortcuts app and run a shortcut named "Make PDF"
url = 'shortcuts://run-shortcut?name=Make%20PDF'