You can use textpad from the command line, it has scripting options for
running macros and was good at regexp's but word can also do this and would
be easier to automate. Create a macro and manually open a file, select all,
replace the double-quotes with two and then ctrl-home type in the prefix,
end-key and add the suffix, down-arrow, home, then close and save it.

Then, open the macro to edit...there's a good code skeleton to work from.

tom

-----Original Message-----
From: jake williamson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 7:06 AM
To: ActiveServerPages
Subject: Re: automatically formatting html files for asp


tom,

that is spot on! exactly what i'm trying to do...

you've mentioned macros (of which my knowledge is limited) but can they
be ported into asp?

the problem i'm having with the things i've tried is making it see the
line ending....

cheers,

jake

On Wednesday, September 25, 2002, at 02:47 PM, mallard wrote:

> I think he was trying to convert static html to concatenation of the
> html as
> a string. I've used textpad, homesite and VID for this by creating a
> macro
> that replaces " with "", then another macro which adds strHTML =
> strHTML & "
> at the beginning of a line and " & vbcrlf to the end. These are pretty
> fast,
> done plenty of files this way.
>
> tom mallard
> seattle


---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to