On 13-12-2000 at 14:53:06GMT +0100 (which was 13:53 where I live)
Thomas Speer wrote regarding the subject of "%ORG macro, (was Re: The Bat! -
suggestions)"
ME>> In my account props I have Organization defined. I then have %ORG="" in my
ME>> reply filters of certain folders. If I put %ORG="" the organization is
Thomas> ^^^^^
Thomas> You write here Reply Filters the %org="xyz" Macro must be set in the
Thomas> Templates are you doing this or are you trying to change something in
Thomas> the wrong place?????
Hello Thomas,
Sorry for the confusion, I have the macro in the quick-templates, which I
use for the folders, i.e. in my Tbbeta folder I have the following as reply
template: %QINCLUDE="Replylist"
The templates looks like:
Replylist:
------start------
%QINCLUDE="ReplyHeaderList"
%SETPATTREGEXP="^.*(?=[^\S\n])|^.*"Hello %REGEXPMATCH="%TONAME",
%Cursor
%QINCLUDE="TheBat"
%QINCLUDE="Subject"
----end----------
ReplyHeaderList:
------start------
%SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPBLINDMATCH="%HEADERS"On
%ODATESHORT at %SUBPATT="3"GMT%SUBPATT="4" (which was %OTIME where I live)
%OFROMNAME wrote regarding the subject of
"%setpattregexp="(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd|fw)(\[\d*\])?:\s*)*(.*)"%RegExpBlindMatch="%OSubj"%SubPatt='5'"
%ORG=""
%QINCLUDE="QuoteStyle"
%QINCLUDE="Quotes"
----end----------
QuoteStyle:
------start------
%quotestyle='=%ABOFROMFIRSTNAME="%OFROMFNAME"'
----end----------
Quotes:
------start------
%quotes="%SETPATTREGEXP=""(?is)(^-----BEGIN PGP
SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--\s*\n|_{40,}\s*\n|-----BEGIN PGP
SIGNATURE.*s?\n|-+\s*eGroups.*~-~>.*-*_->)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""
----end----------
TheBat:
------start------
using TheBat %THEBATVERSION on Windows %WINDOWSMAJORVERSION.%WINDOWSMINORVERSION Build
%WINDOWSBUILDNUMBER %WINDOWSCSDVERSION
----end----------
Subject:
------start------
%subject="Re:
%setpattregexp=""(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd|fw|sv)(\[\d*\])?:\s*)*(.*)""%RegExpBlindMatch=""%OSubj""%SubPatt=""5"""
----end----------
I like the templates to be modular like this, because when I want to change
something in a "module template" it changes automagically in all templates
which use it.
So far as I can see everything is OK. But the %ORG="" is ignored, or to be
precise:
When I create the reply message the macro works as the organization field
(which I have turned on in the view menu) is blanked. BUT once I send the
message the default organization is put again in the field, i.e. the
message in the outbox and after sending in the sent-folder has the
organization filled in.
If I change the above macro to read %ORG="-" everything works as it should.
The same happens when I test this in another account, which has NO macros
defined whatsoever.
Sorry for this long message but I hope I've covered all for you to
understand.
Regards
--
Manfred
using TheBat 1.48 Beta/11 on Windows 5.0 Build 2195 Service Pack 1, RC 1.1
....
Why do Newfies put bells on their cows? Because the horns don't work.
--
--------------------------------------------------------------
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBBETA, double-click HERE:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]