Wish list for post 3.3...
mikael last edited by
@cvp, so, no big deal, easy to find, well documented. :-)
@mikael Sure 😅
My only hard/long (for me) work was to try to
- open the console in partial screen (already solved in a previous topic)
- present a view without hiding the console, even if you can't really access it
- simulate tapping the command TextField
- simulate tapping the previous/next history buttons
- move my own buttons up/down when the keyboard (dis)appears
If I didn't' find the url, I would set the web doc url
cvp last edited by cvp
Be careful, my script has a bug if the standard doc tab is open when you start the script.
omz last edited by
@cvp I'm quite impressed by your reverse engineering skills. Very clever! 👍
@omz Thanks, only patience and enough free time 😀
Only clever thing is your marvelous app which allows to realize such process.
@mikael Property to find url was
if 'UIWebBrowserView' in str(sv._get_objc_classname()): #print(dir(sv.webView())) print(sv.webView().mainFrameURL())
This is quite a good hack @cvp. Every problem looks simple once you solve them so this is not as easy as you make it look. My Pythonista wish list is for the app to reveal the secret of the afterlife because we only live twice. This means that to me Pythonista is already a dream come true that allowed me to achieve many important goals using an iPad. It is good as it is and whatever comes next is welcomed. However, please do not remove Python 2.xx.
ccc last edited by
I was all good up until
please do not remove Python 2. It is dead, people. It already lived its two lives. Look at the issues just in this past week on this forum which are about Unicode encoding. Let's allow that stuff recede into the past where it belongs. Drop legacy Python because it is legacy.
cvp last edited by cvp
@ccc I understand that you/we want to use the latest Python level, but I don't understand the disadvantage to also keep Python 2 support in Pythonista for people who want it.
I say that I don't understand, not that there is no disadvantage
this is not as easy as you make it look
I agree, that's why I said it was hard and long for me 😅
Tools never die @ccc. Will the concept of a hammer or that of the screwdriver die at some point? Even the basic lever is still useful when you only have a stick and a rock to lift a heavy weight. Python 2.xx will always be as useful as it ever was. I went over that discussion with you and others many times as you may remember. No one has ever provided a valid reason for the removal of Python 2.xx from Pythonista. Basic impulses can not dictate the direction of a logical entity (Pythonista).
@cvp like the french philosopher Deleuze said: "Il fallait y penser!".