Fri Mar 3 22:34:26 CET 2006
Louis Desjardins wrote:
>>Louis Desjardins wrote:
>>> This gives me the opportunity to say again how it would be useful to
>>> have a Super Search & Replace into Scribus. For such tasks where you
>>> need to do 10 Searches / Replacements in a row, looking after
>>> 1-2-3-4-5-6-7-8-9-0 in such font and changing it to another... Why do 10
>>> Searches? Why not do only one, with all the occurrences? Wouldn't that
>>> be something?! *No other DTP app has this capability* (afaik)
>>I'd like to see if I can come up with some search scripts for this kind
>>of thing and others like it.
>>One can certainly create a list of items on a page, get the text, delete
>>the text and insert new text. Even just a grep-like function might be nice.
>Do you think this could be done in a way where one could possibly
>save a Search/Replace instruction file, load it and apply it when
>needed? We should be able to look for any formatting available for
>text, including style sheets, color, font styles, special characters,
>Just thoughts from a user perspective.
At first I more or less just wanted to play around to see what can be
accomplished with existing Scripter commands, so conceptually, it's a
mattter of getting a list of frame names, then sifting through for text
features, that leading to analysis of font and font styles. I'm trying
to wrap my head around the idea of a search based on font/style and
having some trouble with the mental algorithm. Obviously, if you can't
create the mental algorithm, you're not going to be able to make one in
So for now, I'll play, then come back with, "Ok guys, here are some
things you can do searching with scripter. Do these elemental things
seem to lead to anything useful?"
More information about the scribus