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.
[Issue] Keyboard shortcut and dialog module support
-
Hi there, I’ve been working on an app recently that uses the dialogs module. When using the function “input_alert”, and or “alert” it works perfectly fine within the Pythonista program, but when I try to implement this code using the “keyboard shortcut” no dialog is displayed and the keyboard essentially crashes… is there anyway around this, I did try to create my own UI using TextFields but that wasn’t working aswell. Thank you!
-
It is easier to debug Python code than English prose.
-
@circumvention I don't think that keyboard shortcut supports dialog but you can use ui.TextField or ui.TextView in your customized keyboard view, like the help function in the Calculate keyboard example, included in Pythonista.
Have a look there.But don't forget that your keyboard is active on a TextField/TextView of another app thus your customized TextField in the keyboard can display a text but can't be edited. Only buttons can be pressed.