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.
pythonista UI
-
@shinya.ta That's for custom keyboard apps, I don't think Pythonista is able to do that, if it is too complex for me and I'll let other people answer, sorry
-
-
@shinya.ta search "custom keyboard" in App Store and you will see a lot of keyboard applications, that's an entire application, not a part of Pythonista
-
Do I need to make it from the library?
-
Well, it is possible to create your own completely custom keyboard
https://forum.omz-software.com/topic/4951/real-numeric-pad-on-ipad/11Or, you can add a custom keyboard row, specific to each textfield:
https://gist.github.com/2ad26773f2ceaf3b1c3350fde62fe505
In this example, I show how you can create a row of emoji's above the normal keyboard, or also could create custom action buttons.
-
@JonB Not completely custom keyboard. Keys like uppercase, 123 and Globe are not real keys
-
In the tool bar, it is too small to use VoiceOver, so it is difficult to operate it.
-
I tried the following code, but I have an error message. Why is that?
https://forum.omz-software.com/topic/4951/real-numeric-pad-on-ipad/11
-
There is no meaning in the tool bar with pythonisa only.
It is a text input by Twitter, LINE, Facebook, and mail, so you have to make it the same as an existing keyboard in the iPhone.
I need to use it like a globe key.
Is it possible?
-
@shinya.ta In topic , which code did you try because the topic shows an evolution of code.
I wrote this code but you will not find a solution to the globe key there. -
Dear@cvp
I came up with various ideas and came up with this method.
It is a button to copy all the sentences shown in the textview.
I thought that I should make a sentence with pythonisa and paste it in a text field such as LINE and Facebook.
Is it possible to make a copy of all the sentences and a button for pasting?
-
@shinya.ta at begin of your script
import clipboard
And this button, I don't remember if you use a TextField or a TextView
b_copy = ui.Button() b_copy.frame = (10,290,100,32) b_copy.title = 'copy' b_copy.background_color = 'white' b_copy.border_width = 1 def b_copy_action(sender): tv = sender.superview['TextField'] clipboard.set(tv.text) b_copy.action = b_copy_action v.add_subview(b_copy)
-
@shinya.ta the paste action will not be in Pythonista thus no way for a paste button except this one of the normal keyboard
-
@ cvp is God, so I think my wife will be saved.
Today is night shift, so I will try it later.
If it goes well, I will report it.
-
@shinya.ta I hope is only humor because I do too much errors to be god, ask my wife 😂
-
@cvp
Dear.@cvpIt was successful.
You are God for me.
I think my wife will be happy with this.Thank you very much indeed.
-
@shinya.ta You're welcome. Happy to have helped you. Hoping you will find a lot of fun with this marvelous app.
-
Dear.@cvp
It was successful, but there was one problem.
I have been in trouble because I can't locate the cursor position when I move the cursor position.oes not read the cursor's current location?
-
I have trouble rewriting spelling errors.
-
@shinya.ta Sorry, I don't understand both problems.
Don't you see the cursor, a very thin blue vertical line?