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.
Keyboard switch.
-
@shinya.ta I hope you have installed the new version.
And do you see the text "copy" or "no full"? -
Is the new version "330015"?
-
@shinya.ta I speak of the new version of the Pythonista script...Emojis keyboard
And stay in 330014
-
@shinya.ta could you test this little script as keyboard and tell me if you
get "qwerty" if tap on "copy" and the tap paste keyimport keyboard import clipboard import ui v = ui.View() b = ui.Button() b.frame = (2,2,60,32) b.title = 'copy' def b_action(sender): t = 'qwerty' clipboard.set(t) b.action = b_action v.add_subview(b) keyboard.set_view(v, 'expanded')
-
-
@shinya.ta Check your script, you forgot the first line "import keyboard" 😢
-
-
@shinya.ta Then the problem you have is not due to the device.
I think you did something wrong.
Please,-
set setting/Pythonista/keyboards/authorize full access to OFF
-
close the keyboard app
-
choose Emojis Keyboard
The script should show the copy button with "no full" as title
Tell me
Be careful, sometimes we need to close a keyboard, choose another one, close it and re-choose the tested one...
A keyboard seems to stay a little bit too long in memory -
-
I'm sorry.
I don't understand the meaning of the Emoji keyboard. -
@shinya.ta ok, sorry, that's the name I gave to this keyboard...
-
@shinya.ta Forget the last check that I have asked. If the little script for copy "QWERTY" works fine, that will say that the setting "full access" is ON thus my last request is useless.
Sorry.Thus, the only reason I still see for the problem of copy is that you could have not installed the last version of my script. here
-
I installed the last version, but the result doesn't change.
I don't know why. -
Could you install this little script as keyboard.
Then , you select a text where you want, tap the "copy" button and paste the clipboard to check if the action does work.When you have tested the little script two days ago, it worked with "qwerty", now we check if it works with selected text, just to be sure that the get_selected_text works.
import keyboard import clipboard import ui v = ui.View() b = ui.Button() b.frame = (2,2,60,32) b.title = 'copy' def b_action(sender): t = keyboard.get_selected_text() clipboard.set(t) b.action = b_action v.add_subview(b) keyboard.set_view(v, 'expanded')
-
@shinya.ta I have exactly the same problem.
If I use my little keyboard script in Mail, it is not ok, it if I use it in Pythonista editor, it works.It is like if Clipboard of Pythonista keyboard is not the same as another app's keyboard.
I don't knowI've created an issue in the bugs list of a Pythonista, hoping @omz would process it.
-
I tried it too, but it wasn't good.
-
@shinya.ta I'm sorry for you but I don't know if it is a problem of Pythonista or of iOS...
But sure, it is not your iDevice 😀I hope that you could, despite that, use this script for other tasks than copy...
If you need more keys, don't hesitate to ask -
@shinya.ta After some tests, it seems that in my little script and the big script, the "copy" button work in Safari, in Notes, in Pythonista, in Numbers but not in Mail....
This is perhaps an Apple limitation. -
Thank you very much. Even if I can't use the copy button, I'm happy that I can move the cursor.
Now my wife can write email happily using both the Braille application and the braille.Thank you very much.
Thank you very much. -
@shinya.ta for info, Apple doc of customized keyboards says
Because a custom keyboard can draw only within the primary view of its UIInputViewController object, it cannot select text. Text selection is under the control of the app that is using the keyboard. If that app provides an editing menu interface (such as for Cut, Copy, and Paste), the keyboard has no access to itThe standard keyboard of Mail offers a copy button
-
Thank you for your detailed information.