IPhone Custom Keyboard Glove Key.
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?
@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
There is an error message in the first import. Why is that?
@shinya.ta Sorry but you have to install pyimgur from Internet, forget it for now
@shinya.ta could you in a few words explain why you can use the normal globe key
Do you mean it can be used for VoiceOver?
@shinya.ta i Really don't know, I ask you
When you stop the Microphone key, the globe key is displayed big.
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 If you want to download pyImgur ,
- tap download, download zip
- download it
- 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 ....
Thank you for your explanation of downloading.
I don't know the Object - c at all. Do I have to give up?
@shinya.ta Really, I don't know. I still search for you but without success.
I hope somebody will help you