[Scribus] Python scripting and text

Henning Schröder scribus
Tue Sep 9 03:22:32 CEST 2003


> I looked into the examples, but all are about setting properties to text
> frames, not text inside them. I do not know is it possible with scribus
> and python.
I had the same problem. See my post:

There is one solution I found out:
Insert the whole text inside the textbox. Later you use "SelectText" first
and then modify the style for the selected text. Therefore you need to
know the exact cursor position.
For complex changes you should call "SetRedraw(0)" but don't forget to call
"SetRedraw(1)" after that... 


More information about the scribus mailing list