Hello jan,

Historians believe that Saturday, December 8, 2001 at 08:05 GMT -0500
was when, [EMAIL PROTECTED] [J] typed the following:

J>    Is there a way to use the SINGLELINE macro to construct a
J>    QT that deletes just one line.

Not that I know of. It should be a pretty easy with a regular
expression, but there aren't any macros to access the current
message's text.  A work around would be to select the entire message
body (Ctrl-A) and put it into the clipboard (Ctrl-C).  Then run the
following quick template:

%SETPATTREGEXP="(?is-m)^.*?\n(.*)$"%-
%REGEXPMATCH="%Clipboard"

Of course, for all this work, you might as well delete the line
manually and just insert the new greeting by QT.

J>    The purpose is to build a QT that will manually delete a
J>    greeting line as in 'Hello TBUDListers." & replace it
J>    with a time-of-day greeting as in "Good morning
J>    TBUDListers".

Are the time specific messages only occasionally, or do you want it
for all messages served by the main template?  If it is the second,
why not change your main template to use the correct greeting rather
than replacing it later?


-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54 Beta/15 under Windows 98 4.10 Build 67766446 A

I have an imaginary friend who refuses to play with me.


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ        : http://faq.thebat.dutaint.com 

Reply via email to