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.
-
Dear.@cvp
#nextSet(vv_array[n_sets-1]['nextSet']) # display 1st setet)
I don't know where I insert this.
-
@shinya.ta You have only to put a # at the line which is the 4th before the end of your script
-
-
@shinya.ta Please, could you post here your 10 last lines, thanks
-
if (x+d+dd) > w: x = dd y = y + d + dd vv.frame = (0,0,w,h) vv_array.append(vv) i_set = 0 nextSet(vv_array[n_sets-1]['nextSet']) # display 1st setet) v.present('sheet') tv.selected_range = (0,0) tv.begin_editing()
-
@shinya.ta put a # before the line nextSet... as here-after
if (x+d+dd) > w: x = dd y = y + d + dd vv.frame = (0,0,w,h) vv_array.append(vv) i_set = 0 #nextSet(vv_array[n_sets-1]['nextSet']) # display 1st setet) v.present('sheet') tv.selected_range = (0,0) tv.begin_editing()```
-
-
@shinya.ta Sorry but without the code, no help possible
-
Please post your new 10 last lines
-
if (x+d+dd) > w: x = dd y = y + d + dd vv.frame = (0,0,w,h) vv_array.append(vv) i_set = 0 #nextSet(vv_array[n_sets-1]['nextSet']) # display 1st setet) v.present('sheet') tv.selected_range = (0,0) tv.begin_editing()```
if (y+d+dd) > h: h = y + d + dd vv.add_subview(b) x = x + d + dd if (x+d+dd) > w: x = dd y = y + d + dd vv.frame = (0,0,w,h) vv_array.append(vv)
i_set = 0
nextSet(vv_array[n_sets-1]['nextSet']) # display 1st setet)v.present('sheet')
tv.selected_range = (0,0)
tv.begin_editing()Insert Code Here
-
The "indentation error" will appear.
-
The error results from your lines not being well-aligned
Unindenting thex=...
andy=...
lines should fix it -
I'm sorry. The second code is wrong.
-
I'm a beginner, so I don't know which line I should go.
-
@shinya.ta your modified code is here
-
I can't use the existing keyboard because it is hidden.
There is no change between the beginning and the change. -
@shinya.ta It's sure that there is a modification between beginning and this last script...
The 4th one before end of script is commented to use the standard keyboardOr I don't understand your request, in this case, sorry
-
Can I use this script only in the frame of the keyboard?
Do I need to change my size? -
@shinya.ta Sorry, I don't understand what you want to do. In your initial post, you asked to use standard keyboard instead of the customized one with emojis. Thus, the solution was to not use setInputAccessoryView, thus to comment the line that does this process...
Or, I really don't understand anything.
-
I'd like to try it once.
How can I do so that I don't use setInputAccessoryView?