Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.apps > #2627
| Subject | Re: Search & Replace |
|---|---|
| Newsgroups | comp.sys.acorn.apps |
| From | Erving <erving@riscos.org> |
| Date | 2012-01-09 10:28 +0000 |
| Message-ID | <4df1cc4e52.kbarter@orpheusnet.co.uk> (permalink) |
| References | <81da4a4e52.kbarter@orpheusnet.co.uk> <524e4e73a9Paul@sprie.nl> |
| Organization | Home |
[Posted and mailed]
In message <524e4e73a9Paul@sprie.nl>
Paul Sprangers <Paul@sprie.nl> wrote:
> In article <81da4a4e52.kbarter@orpheusnet.co.uk>,
> Erving <erving@riscos.org> wrote:
>> Is there any easy way to apply a series of search and replace strings
>> to a piece of text, from a list or table? Do any editors have this
>> functionality? I suppose I could maybe drop the text into Pipedream
>> and write a macro to do it, but is there a simpler way?
> You might try !ConvText, which can be downloaded here:
> http://www.riscos.sprie.nl/Downloads/ConvText.zip
> StrongHelp file is inside.
> Kind regards,
> Paul Sprangers
Thank you. This is a great utility, with it I have been able to more
or less sort out my problem. For some as yet to be discovered reason
my Impression exports from version2 of Organizer have the colour
strings all wrong (I have never had problems with V1)
I have made a script (appended in case anyone else has this problem)
which corrects these with the exception of orange, yellow and two of
the grays, all of which exported with a black string:
({fontcolour rgb=(0,0,0)}) which the script changes to mid gray.
A programme which would work in the same way with an Impression
document would be most useful (I know one can export it as a text
document with styles, edit it and reimport it; however my documents
tend to be made up of bits of saved sections with styles which somehow
have {"style" on}s with out matching {"style" off}s. This works OK so
long as each bit is added to the start of the document, but if then
exported as text has to be corrected before it will reimport corectly)
SCRIPT:OrgCol |This is the name of the script
{fontcolour rgb=(3.921568628E-3,0,0)}:{fontcolour
rgb=(0.6901960785,0.6901960785,0.6901960785)}|Colour 2 pale gray
{fontcolour rgb=(1,1,1)}:{fontcolour
rgb=(0.5647058825,0.5647058825,0.5647058825)}|Colour 3 light gray
{fontcolour rgb=(0,0,0)}:{fontcolour
rgb=(0.3137254902,0.3137254902,0.3137254902)}|All 'blacks': Colours
1,4,5 gray and 9 yellow & 14 orange, made mid gray
{fontcolour rgb=(0.9450980392,0,0.02745098039)}:{fontcolour
rgb=(0.1882352941,0.1882352941,0.1882352941)}|Colour6 dark gray
{fontcolour rgb=(0.2627450981,0.02352941177,0)}:{fontcolour
rgb=(0,0,0)}|Colour 7 black
{fontcolour rgb=(0.2666666667,0.02352941177,0)}:{fontcolour
rgb=(0,0.2509803922,0.5647058825)}|Colour 8 blue
{fontcolour rgb=(0.1921568628,0.05098039216,0.1254901961)}:{fontcolour
rgb=(0,0.7529411765,0)}Colour 10 light green
{fontcolour rgb=(0.1882352941,0.1921568628,0.1960784314)}:{fontcolour
rgb=(0.8156862746,0,0)}|Colour 11 red
{fontcolour rgb=(0.9411764706,1,1)}:{fontcolour
rgb=(0.8784313726,0.8784313726,0.6901960785)}|Colour 12 cream
{fontcolour rgb=(0.05882352941,0,0)}:{fontcolour
rgb=(0.3137254902,0.5019607844,0)}|Colour 13 mud green
{fontcolour rgb=(3.921568628E-3,0,0.1529411765)}:{fontcolour
rgb=(0,0.6901960785,0.9411764706)}|Colour 15 cyan
Back to comp.sys.acorn.apps | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Search & Replace Erving <erving@riscos.org> - 2012-01-08 10:47 +0000
Re: Search & Replace Paul Sprangers <Paul@sprie.nl> - 2012-01-08 12:27 +0100
Re: Search & Replace News poster <workstuff@mail.com> - 2012-01-09 11:09 +0100
Re: Search & Replace Erving <erving@riscos.org> - 2012-01-09 10:28 +0000
Re: Search & Replace Vince M Hudd <vinceh@softrock.co.uk> - 2012-01-10 15:41 +0000
Re: Search & Replace Martin Wuerthner <spamtrap@mw-software.com> - 2012-01-10 23:40 +0100
Re: Search & Replace Vince M Hudd <vinceh@softrock.co.uk> - 2012-01-10 22:54 +0000
Re: Search & Replace druck <news@druck.org.uk> - 2012-01-11 20:30 +0000
Re: Search & Replace Erving <erving@riscos.org> - 2012-01-15 11:03 +0000
Re: Search & Replace Harriet Bazley <bazley@feathermail.co.uk> - 2012-01-17 23:15 +0000
Re: Search & Replace Dave Symes <dave@triffid.co.uk> - 2012-01-18 07:32 +0000
Re: Search & Replace "David Holden" <SpamBin@apdl.co.uk> - 2012-01-18 09:30 +0000
Re: Search & Replace Dave Symes <dave@triffid.co.uk> - 2012-01-18 19:48 +0000
Re: Search & Replace Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-01-18 10:25 +0000
Re: Search & Replace Harriet Bazley <bazley@feathermail.co.uk> - 2012-01-19 04:04 +0000
Re: Search & Replace Erving <erving@riscos.org> - 2012-01-15 15:20 +0000
csiph-web