Forum Archive

IPhone Custom Keyboard Glove Key.

shinya.ta

I'm Japanese, so I translate it into English and post it.

It may be difficult to read, but I'll ask you.

I would like to make an iPhone Custom keyboard grab key.

I want to make the same function button with pythonisa.

Xcode is possible, but I want to do it with pythonisa.

Is there anyone who knows?

JonB

can you post a picture of what you want? I think something is being lost in translation

cvp

@JonB I think he wants to be able to switch the keyboard language by an ui.button() like asked in the last posts of this topic

I think he uses VoiceOver and an ui.Button should be bigger than the iPhone globe key because the user has eyes problem "I have a visually impaired daughter-in-law."

shinya.ta

@JonB

I don't know how to send pictures here.

shinya.ta

@cvp

Posting is a mistranslation.
My wife is visually impaired.

I am properly using the size of the glove key in the iPhone.

If you can switch the iPhone system keyboard, it's done.

cvp

@shinya.ta You can send an image to a web site with this script
Run it, select a picture in your photos and the script will do the rest

import pyimgur,photos,clipboard,os,console
i=photos.pick_image()
print(i.format)
format = 'gif' if (i.format == 'GIF') else 'jpg'
i.save('img.'+format)
clipboard.set(pyimgur.Imgur("303d632d723a549").upload_image('img.'+format, title="Uploaded-Image").link)
console.hud_alert("link copied!")
os.remove('img.'+format)

Then you will receive an url in the clipboard and you can paste it in a post

shinya.ta

@cvp

There is an error message in the first import. Why is that?

cvp

@shinya.ta Sorry but you have to install pyimgur from Internet, forget it for now

cvp

@shinya.ta could you in a few words explain why you can use the normal globe key

shinya.ta

@cvp

Do you mean it can be used for VoiceOver?

cvp

@shinya.ta i Really don't know, I ask you

shinya.ta

@cvp

When you stop the Microphone key, the globe key is displayed big.

shinya.ta

@cvp

When you set a microphone by setting vertical flick input, it will be the same size as other keyboards, so it will be the same size as that.

cvp

@shinya.ta Thanks for tu explanation. Sincerely, I hope you will find help in this forum.
As @jonb said, it could be possible in Pythonista via Objective-C but it is not an easy work.

cvp

@cvp If you want to download pyImgur ,
- access
- tap download, download zip
- download it
- share
- run Pythonista 3
- import file
- the zip will arrive in your root directory
- extract archive
- a directory is created, scan it into a folder named pyimgur
- move it in site-packages
Now this code can be imported ....

shinya.ta

@cvp

Thank you for your explanation of downloading.

I don't know the Object - c at all. Do I have to give up?

cvp

@shinya.ta Really, I don't know. I still search for you but without success.
I hope somebody will help you

shinya.ta

@cvp

Dear@cvp

I will study hard.
And I'll try to succeed someday.