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.
-
@shinya.ta VoiceOver is an IOS feature that automatically reads aloud the title of a tapped key but our flicked keys are generated by our script without iOS knows it is a simulated key, thus does not reads aloud them. I try without success to speech a key which becomes blue, but without success.
-
@cvp
Do you mean you need the own reading function of Pythonista? -
@shinya.ta yes but without success actually
-
@cvp
Do I need a Japanese voice library? -
@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.
-
@cvp
Do you still have a hope?
If you can do this, it will be a perfect keyboard for my wife. -
@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...
-
@shinya.ta Tried but not yet ok, does not work like I wait, not obvious, will try layer...
-
@cvp
Dear cvp.
You are my savior. I wish you success. -
@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.
-
@cvp
Is it difficult after all? -
@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.
-
@cvp
It's okay. I'll wait. -
@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.
-
@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. -
@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”
-
@shinya.ta could you try this new version (small modifications)
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.pyI've a lot of medical exams and I'm tired, thus don't hope a lot of updates
-
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” -
@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?
-
@cvp
I'm sorry. It's done. But the Read out button doesn't read out anything. There is no error.