@cvp
I think from the consideration it is exactly what I'm looking for and meant 😊
Will try to implement in the near future once when I have questions I'll get back to you here (but may take a while at the moment a lot of stress)
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.
@cvp
I think from the consideration it is exactly what I'm looking for and meant 😊
Will try to implement in the near future once when I have questions I'll get back to you here (but may take a while at the moment a lot of stress)
@7upser said:
@cvp It wasn't my Thread 😛
But you are right Phone calls and WhatsApp are different things.
Maybe there is a url scheme for whats app, or a action for Shortcuts.But back to what i'm interested in (call shortcut and return to pythonista)
This could work:import ui import webbrowser class cUIView(ui.View): def __init__(self, *args, **kwargs): self.width, self.height = 200, 200 self.background_color = 'silver' self.vBtn = ui.Button(title = 'test', name = 'btntest') self.vBtn.frame = (50, 50, 100, 100) self.vBtn.background_color = 'white' self.vBtn.action = self.btnAction self.add_subview(self.vBtn) def btnAction(self, vSender): url = 'shortcuts://x-callback-url/run-shortcut?name=testBluetoothOff&x-success=pythonista3://' webbrowser.open(url) vView = cUIView() vView.present('sheet')
Thats nice xD
Thanks
@mikael said:
@DavinE, from some hints online I gather that the underlining might be connected to user having activated ”Button Shapes” in accessibility settings.
No clue what that might be in German, but at least I have the setting under Accessibility > Display and text size (4th option) > Button Shapes (3rd option).
omg.... but Thanks this is right....
@7upser said:
In german its named: Tastenformen
(einstellungen / bedienungshilfen / anzeige & textgröße / tastenformen)Never heard this before, i think Apple create a new word....
Ich danke dir xD
was haben die bitte genommen ^^ Tastenformen......
weiste wie lange ich danach gesucht hatte....
aber schön das ich nix änder muss ^^
@mikael said:
@DavinE, could not find a better way to make this reliable than requiring an explicit call to
start_scripter
, see example below (requires update).import ui from scripter import script, start_scripter mainview = ui.View(name='scripter_view', bg_color='black') start_scripter(mainview) ...
@mikael, It works Perfect!
Thanks for your help and work into it!
Thanks @mikael for that great Support here Thumbs Up