[scribus] Applying character styles with Scribus Scripter
gpittman at iglou.com
Tue Apr 23 13:46:23 UTC 2013
On 04/23/2013 05:59 AM, Syed Akbar wrote:
> it does not seem to be possible to apply character styles with a Scribus
> script. Is there any work-around or other solution to format single
> characters in a textbox?
You're right, there is no way to apply character styles. I don't think
there is any suitable workaround either. At various times I have tried
to select some text, then apply some sort of change to it, and have not
been successful. I haven't even been successful at applying a Paragraph
Style to a single paragraph in a frame.
Selecting text itself is very hard to work with, since one has to have
some knowledge of the number range of characters you wish to select.
I think this remains something that is for the time being best done
outside of Scripter, where you can find and replace text and apply
styles. Perhaps once we get to a fully functional new Scripter someone
will add commands to use the Find/Replace function from within a script.
More information about the scribus