omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. jamm

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    jamm

    @jamm

    0
    Reputation
    481
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jamm Unfollow Follow

    Latest posts made by jamm

    • RE: can pykeys see key presses from external keyboards?

      In another app I want it to form tags around the text every time enter is pressed. It seems impossible due to limitations.

      posted in Pythonista
      jamm
      jamm
    • RE: can pykeys see key presses from external keyboards?

      How can I debug that this is being called? The alert and insert_text functions don’t have an effect. The only thing that happens is it appends “o” only for key presses to the soft keyboard. I’m editing Text Effects.py

      def textview_should_change(self, textview, range, replacement):
      	keyboard.insert_text("r")
      	dialogs.alert("s")
      	return True
      
      def no_effect(text):
      	keyboard.insert_text("p")
      	dialogs.alert("q")
      	return text + "o"
      
      posted in Pythonista
      jamm
      jamm
    • RE: can pykeys see key presses from external keyboards?

      I want to make it so when the keyboard is active it is inserting a tag before and after the text whenever I press return. I only use the external keyboard, never the on screen keyboard.

      posted in Pythonista
      jamm
      jamm
    • can pykeys see key presses from external keyboards?

      I am trying to build a function where every time you press enter on external keyboard, it inserts some text at the beginning and end of the line before the app handles the enter key press. Is this impossible?

      posted in Pythonista
      jamm
      jamm