omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Flick button keyboard.

    Pythonista
    5
    491
    7889
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • shinya.ta
      shinya.ta @cvp last edited by

      @cvp
      Do you mean you need the own reading function of Pythonista?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @shinya.ta last edited by

        @shinya.ta yes but without success actually

        shinya.ta 1 Reply Last reply Reply Quote 0
        • shinya.ta
          shinya.ta @cvp last edited by

          @cvp
          Do I need a Japanese voice library?

          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @shinya.ta last edited by cvp

            @shinya.ta No, IOS speech module provides that but the problem I meet is that when I process the long_press handler, if I colorize the key in blue in moving, I try to speech the key title but either there is no sound, either the sound is repeated a big number of times. I have even tried to put the speech call in a thread, without success. I am not sure that keyboard process can handle several threads.

            shinya.ta 1 Reply Last reply Reply Quote 0
            • shinya.ta
              shinya.ta @cvp last edited by

              @cvp
              Do you still have a hope?
              If you can do this, it will be a perfect keyboard for my wife.

              cvp 2 Replies Last reply Reply Quote 0
              • cvp
                cvp @shinya.ta last edited by cvp

                @shinya.ta Yes, I still have an hope, to early to abandon, but don't ask me a delay

                And the reason of your request, "for your wife" is my motivation 🙂

                Edit: I just found in objectiveC Apple doc that there are some VoiceOver functionalities that developer (like I try to be 😉) may use to force VoiceOver to say something not foreseen in the standard process. But I don't know anything about that, thus wait, hope and see

                Edit2: normally, I work wit sound off on my iPad and now, to test my code with VoiceOver on and sound on do annoy my wife, thus I postpone to later...

                1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @shinya.ta last edited by

                  @shinya.ta Tried but not yet ok, does not work like I wait, not obvious, will try layer...

                  shinya.ta 1 Reply Last reply Reply Quote 0
                  • shinya.ta
                    shinya.ta @cvp last edited by

                    @cvp
                    Dear cvp.
                    You are my savior. I wish you success.

                    cvp 1 Reply Last reply Reply Quote 0
                    • cvp
                      cvp @shinya.ta last edited by cvp

                      @shinya.ta said

                      You are my savior. I wish you success.

                      Too optimistic and too early to say it , but thanks for the wish

                      My last try today: the last blue letter is read aloud when my finger leaves the screen but not when the key becomes blue, thus if you move your finger on a letter an then on another letter, the last is said when pression is ended, thus too late.

                      shinya.ta 1 Reply Last reply Reply Quote 0
                      • shinya.ta
                        shinya.ta @cvp last edited by

                        @cvp
                        Is it difficult after all?

                        cvp 1 Reply Last reply Reply Quote 0
                        • cvp
                          cvp @shinya.ta last edited by

                          @shinya.I've to say that I didn't work on it for medical reasons, but, yes, it seems very difficult to read aloud the generated letter when its key becomes blue, that will say when the finger moving enters in the key frame. I don't abandon but I don't have a lot of free time actually. Chirurgical operation planned, sorry.

                          shinya.ta 1 Reply Last reply Reply Quote 0
                          • shinya.ta
                            shinya.ta @cvp last edited by

                            @cvp
                            It's okay. I'll wait.

                            cvp 1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp @shinya.ta last edited by cvp

                              @shinya.ta I learned yesterday that I have lung cancer, I doubt that I still find, currently, the motivation and the energy necessary to solve this problem of VoiceOver, an area of ​​which I know nothing. Sorry about your wife.

                              shinya.ta 2 Replies Last reply Reply Quote 0
                              • shinya.ta
                                shinya.ta @cvp last edited by shinya.ta

                                @cvp
                                What! Are you okay?
                                Don't worry about us. Just concentrate on your treatment.

                                My wife tested the flick input button, and it seems to be possible to use it at this stage.
                                If you type by moving your finger quickly, it seems that the selected characters are hardly read out.
                                My wife said that even if he can't read letters, he can tell the location of the button if he makes some kind of response sound to the button he moved.

                                1 Reply Last reply Reply Quote 0
                                • shinya.ta
                                  shinya.ta @cvp last edited by ccc

                                  @cvp
                                  There was an old problem that hasn't been solved yet.
                                  When I press the voice reading button, the following error appears.

                                  “Traceback (most recent call last):
                                  File "/private/var/mobile/Containers/Shared/AppGroup/ 263EB98D-49AC-45A8-9637-2EF523D820AC/Pythonista3/
                                  Documents/custom-keyboard/Emojis Keyboard 2.py", line 70, in b read from action
                                  speech. say (t[1], 'jp-jp')
                                  TypeError: argument 1 must be str, not None”
                                  
                                  cvp 1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp @shinya.ta last edited by

                                    @shinya.ta could you try this new version (small modifications)
                                    https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py

                                    I've a lot of medical exams and I'm tired, thus don't hope a lot of updates

                                    shinya.ta 1 Reply Last reply Reply Quote 0
                                    • shinya.ta
                                      shinya.ta @cvp last edited by

                                      @cvp

                                      How are you feeling?
                                      I got the following error.

                                      “Traceback (most recent call last):
                                      File
                                      "/private/var/mobile/Containers/Shared/AppGroup/
                                      263EB98D-49AC-45A8-9637-2EF523D820AC/Pythonista3/
                                      Documents/keyboard_9.1.py", line 149, in dimensions
                                      long_press (b, long_press_handler)
                                      NameError: name
                                      "long_press' is not defined”

                                      cvp 1 Reply Last reply Reply Quote 0
                                      • cvp
                                        cvp @shinya.ta last edited by cvp

                                        @shinya-ta said

                                        Actually, I feel still ok but I'm doing some exams to prepare opération in more than one week.
                                        And operation means hospitalization... thus not free, wait and see

                                        "long_press' is not defined”

                                        Weird, I don't have this problem. Are you sure you copy and paste the entire script?

                                        It is like the import gestures did not work. Sure gestures.py is in the same folder as your keyboard_9.1.py?

                                        shinya.ta 1 Reply Last reply Reply Quote 0
                                        • shinya.ta
                                          shinya.ta @cvp last edited by

                                          @cvp
                                          I'm sorry. It's done. But the Read out button doesn't read out anything. There is no error.

                                          cvp 1 Reply Last reply Reply Quote 0
                                          • cvp
                                            cvp @shinya.ta last edited by

                                            @shinya-ta Sure that tout cursor is not at the end of the text? Try to move it before some characters

                                            shinya.ta 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors