[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[StrongED] Re: Add at end of file?



In article <01eb714b51.fjgraute@xxxxxxxxx>,
   Fred Graute <fjgraute@xxxxxxxxx> wrote:
> The following should get pretty close to what you want to do:

>  - Create a new mode directory in StrED_cfg.UserPrefs.Modes

>  - Inside it create a ModeWhen file that will load all the target files
>    into this new mode. Eg if your files are in directory X then make a
>    rule: *, **.X.*

>  - Open a new StrongED window and enter the line (without quotes):
>    'OnLoad<tab>EndOfText InsertStr("%CO:K,12,0%") SaveText'
>    Save the file as 'ModeFile' in the new mode directory.

>  - Drag the files (or the directory they're in) to StrongED's iconbar
>    icon. They should all be loaded, altered and saved automatically.

> Make sure you have a backup though as I only did the briefest of testing
> on this. You may have to play around with the InsertStr command to get
> exactly what you want.

Brilliant... I shall experiment. I thought SE was the tool, but it needed
Fred - the only person with the skill to use the tool!

Thanks.

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx