• cvp

    @DavinE please, try as method of an ui.View

        def get_screen_size(self):              
            app = UIApplication.sharedApplication().keyWindow() 
            for window in UIApplication.sharedApplication().windows():
                ws = window.bounds().size.width
                hs = window.bounds().size.height
                break
            return ws,hs
    

    posted in Pythonista read more
  • cvp

    On iPhone, use the down arrow at right of script name, you will see appear the same magnifying glass

    posted in Pythonista read more
  • cvp

    @mikael welcome back, long time isn't it?
    I think he wants the rendered text...

    posted in Pythonista read more
  • cvp

    @seriph thé search function of the forum is not very good, I personally use Google search but I search "Pythonista forum xxxx"

    posted in Pythonista read more
  • cvp

    @jaalburquerque perhaps something like

    import ui
    html = '''
    <!doctype html>
    <html>
        <head>
            <meta charset="utf-8">
            <title>Title</title>
        <style type="text/css">
        /* CSS styles here... */
        </style>
        </head>
        
        <body>
        
        <h1>Hello</h1>
        
        </body>
        
    </html>
    '''
    v = ui.WebView(frame=(0, 0, 320, 100))
    v.scales_page_to_fit = False
    v.load_html(html)
    v.present('sheet')
    

    posted in Pythonista read more
  • cvp

    @seriph try "fullscreen" without the underscore, see here

    posted in Pythonista read more
  • cvp

    @ihf thanks, good luck

    posted in Pythonista read more
  • cvp

    @ihf do you mean the code added for

    Version V01.36
      - in addition to save outline in calendar event on 01 January 2042,
        copy outline¥content in clipboard and
        run Clipboard_to_DataJar shortcut to also save outline in DataJar store
        as pair key=outline name value=outline content
    

    If yes, the code is only

            clipboard.set(self.file + '¥' + notes)
            url_scheme = 'shortcuts://x-callback-url/run-shortcut?name=Clipboard_to_DataJar&input=clipboard&x-success=pythonista://'
            webbrowser.open(url_scheme)
    

    You could comment or remove it or do you want a particular new version for it?

    posted in Pythonista read more
  • cvp

    @ihf Rememeber, I was able to play normally without freezing afTer rebooting my iPad, no other way, even restarting Pythonista did not work. Reason for which I think the problem comes from the iOS.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!