how create text frame with Font Ascent?

Previous topic - Next topic


How create text frames with set Font Ascent?

I found this script but I don't know how set Font Ascent.

            A = scribus.createText(60, 100, 200, 100)
            scribus.setText(add, A)
            scribus.setTextAlignment(scribus.ALIGN_LEFT, A)
            scribus.setFont("Luxi Sans Regular", A)
            scribus.setFontSize(12, A)
            add = ''
            page = page + 1

and second question
What should be the script which can find all text frames on pages and set Font Ascent for them?