-
7upser
@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')
-
-
-
-
7upser
Maybe he means a Homescreen Symbol.
@Python567, see here, if yes:shortcuts
But you need to install Pythonista for each User. -
7upser
I know tastenform but never heard the plural.
(btw. plural is in the word tasten)
And 'operating aids' sounds like my iPad has Aids but is still operating.๐ท๐ -
7upser
In german its named: Tastenformen
(einstellungen / bedienungshilfen / anzeige & textgrรถรe / tastenformen)Never heard this before, i think Apple create a new word....
-
7upser
You can also add Unicode superscripts to the characters: \u00B2
for more information see here: WikipediaResult is something like this:
print(''.join('m/s' + '\u00B2')) print('m/s\u00B2')
-
7upser
I'm missing the Categories for SF Symbols.
I think there are only Categories in the Mac App.
I found two older version and a Screenshot for the new Gaming Cat.
I add some cats for newer Symbols, but didn't finished.
This is what i have (with Pythonista Symbols and Emojis)Names of restricted Symbols are here:
/System/Library/CoreServices/CoreGlyphs.bundle/symbol_restrictions.strings
(also a plist file) -
7upser
If someone interested in a list of string, here we go
import plistlib import io vFilePath = '/System/Library/CoreServices/CoreGlyphs.bundle/symbol_order.plist' with open(vFilePath, 'rb') as vFile: vFileObject = io.BytesIO(vFile.read()) vJsonSFSymbols = plistlib.load(vFileObject) for vIndex, vJsonSFSymbol in enumerate(vJsonSFSymbols): print(str(vIndex).zfill(4), vJsonSFSymbol)