Hi Raj,

Historians believe that Wednesday, September 26, 2001 at 08:24 GMT
+0530 was when, Raj [R] typed the following:


R> The  little  down arrow gives a list of e-mail addresses recently used. To get the 
list of
R> facourites  one needs to use the right button of the mouse while the cursor is in 
the 'To'
R> or 'cc' or 'bcc' rows. At least that is the case with me.

No, I'm talking before you start a new message, when you click on the
little white envelope to start a new message.  Next to *that* icon
there is a down arrow with a list of favourites.

R> I tried this in my reply template

R> %CC='%OCCLIST'
R> %TO='%oTolist'

R> Works fine, except that my email id is also get included which is
R> avoidable. My id gets included even when communication is one -
R> one.

You could try a regular expression like:

%TO='%SETPATTREGEXP=''^(.*?)[,;]?\s*$''%-
%REGEXPMATCH=''%-
%SETPATTREGEXP="^(.*?[,;]?)([^,;]*([EMAIL PROTECTED]|[EMAIL PROTECTED])[^,;]*[,;]?)(.*)$"%-
%REGEXPBLINDMATCH="%OTOLIST, %OCCLIST"%-
%SUBPATT="1"%SUBPATT="4"'''

Just replace my addresses with your address(es) in the form:
([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|...)

You can simplify this somewhat using Quick Templates.  I suspect this
regexp is complicated enough that *any* further discussion should be
on TBTECH.

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54 Beta/8 under Windows 98 4.10 Build 2222 A

I'm really easy to get along with once you people learn to worship me.


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

Reply via email to