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.
Watch submodule
-
Hello, Could someone please provide further insight into the watch submodule, as detailed within appex module; ideally with an example of how this might be used. Thanks M.
-
This seems to be a leftover from the beta. The
watch
module was removed by @omz because it was not very useful, the only thing you could do was show three text choices on the Apple Watch. -
As @dgelessus mentioned, this was removed a while ago, in build 160018. It was implemented in 160014 before being removed 3 builds later.
However, contrary to what @dgelessus said, it looks like you could do more than just show options. You could use dictation for input, as well as showing images and other console output. The description provided by @omz in the notes of beta 160014 is as follows:
Experimental Apple Watch support – the Pythonista Watch App allows you to launch scripts in the special "Watch" folder. The scripts still run on the iPhone (usually in the background) – the Watch basically just acts a remote control. Console output appears on the watch, including images, but things like
console.set_font()
orconsole.clear()
are not supported. The only way to get user input is currently to callraw_input()
. This brings up the dictation interface on the Watch with an optional list of suggestions to pick from. To set the list of text input suggestions, callappex.watch.set_input_suggestions()
beforeraw_input
. I'm not sure yet how useful this actually is, and if I'll include it in the final release. -
-
This seems like a shame to me, even without further input the ability to trigger a script from the watch would be great. I hope this module can make a comeback!
-
He did say that he might revisit it later, perhaps with watchOS 2, after he was finished with Pythonista 2.0. I believe watchOS 2 has already been released, and he's just finished Pythonista 2.0.
-
Thanks, I shall keep a keen interest...
-
Workflow is available on the Watch. So, as an alternative, you an use a Workflow to launch a Pythonista script.
-
Workflow is a no go. The Run Pythonista Script action requires handoff so you can't run scripts from the watch.
I would LOVE to see support for triggering a script via a complication. No need for further interaction - there are infinite use cases for just getting something to run. I would easily pay a further in-app purchase to get this functionality.