Re: folder templates inheritance?

2003-10-02 Thread Gerrit Kiers
 Hello Roelof,

Wednesday, October 1, 2003, 10:54:16 PM, Roelof Otten wrote:

RO Samson wanted to filter his message back to the folder where they were
RO created. To do that, you need to identify to the folder. That's done
RO with the macro I suggested. You place the macro on a single line,
RO doesn't matter where in your templates. (New message, Reply, Forward)
Ah, indeed I overlooked the previous posts on this question.

RO Now you need to filter the messages back to their originating folder
RO after sending. (Or to a related folder.) snip
It's fully clear to me now, thanks!


-- 
Best regards,
Gerrit Kiers

 Using The Bat! v2.00.6 on Windows XP 5.1 Build 2600 Service Pack 1





Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-02 Thread Roelof Otten
Hallo Samson,

On Wed, 1 Oct 2003 18:56:30 -0700GMT (2-10-03, 3:56 +0200, where I
live), you wrote:

RO Apart from that, I can't get any of them to work. :-(

S I think the key is, before you specify your own header, you must first
S define this header in option/preference/message-headers. otherwise
S %setheader won't work.

Well, let's try that...
After saving this message as draft, it actually shows an X-Folder-ID
header. So you're right.

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-02 Thread Roelof Otten
Hallo Samson,

On Wed, 1 Oct 2003 18:53:55 -0700GMT (2-10-03, 3:53 +0200, where I
live), you wrote:

S So far I'm setting this Setheader macro in each of my project sub
S folder one by one. seems no way to change once and apply to all...

There's one thing I didn't mention before. When all of your templates
have certain things in common, you can put those items in one (or
more) Quick Template(s).
You call those QTs from the template you're using with
%Qinclude=Handle
Next time you're going to add something to all of your templates, you
can add it to one of those common QTs, it makes it easy to change some
things system wide. It's quite a job to start with it, but once you've
got it functioning it's the best way to keep your templates up to date.

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-02 Thread Roelof Otten
Hallo Roelof,

On Thu, 2 Oct 2003 10:29:45 +0200GMT (2-10-03, 10:29 +0200, where I
live), you wrote:

RO X-Folder-Id: TBUDL

RO it actually shows an X-Folder-ID header. So you're right.

Yikes, it shows 'Id' instead of 'ID', all my definitions ask for 'ID'
so there's definitely something left to be desired.

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-02 Thread Martin Webster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Roelof,

On 02 October 2003, 10:45 +0200 (02/10/200309:45 local time) Roelof
Otten [RO] in mid:[EMAIL PROTECTED] wrote:

RO Yikes, it shows 'Id' instead of 'ID', all my definitions ask for 'ID'
RO so there's definitely something left to be desired.

I noticed that too. But it does work if you already have folder
templates (see mid:[EMAIL PROTECTED]).

I'd still like to know the difference between %HDR and %SETHEADER.

- --
As ever,
Martin Webster

The Bat! 2.00.22 w/ BayesIt! 0.4fm (Windows XP Professional Service Pack 1)

-BEGIN PGP SIGNATURE-
Version: PGP SDK 3.0.2

iQA/AwUBP3xxTVv+PP8p0/caEQK5wwCg6wwpAk3Fot6paK7Ma2EwxvL3ftoAoMyN
EUmn618vPL19kVsw6afB9UyH
=tWzH
-END PGP SIGNATURE-



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-02 Thread Roelof Otten
Hallo Martin,

On Thu, 2 Oct 2003 19:41:10 +0100GMT (2-10-03, 20:41 +0200, where I
live), you wrote:

MW I'd still like to know the difference between %HDR and %SETHEADER.

Well, these are the definitions of %addheader en %setheader

ADDHEADER(RFC Name,Value) add Value to a message header
SETHEADER(RFC Name,Value) macro to set a message header to the Value

Can't find any definition of hdr in the help, so I can't tell the
difference. Though your remark in mid:[EMAIL PROTECTED]
leads me to believe that one difference is the possibility for
setheader to use dashes.

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Roelof Otten
Hallo Samson,

On Wed, 1 Oct 2003 09:00:34 -0700GMT (1-10-03, 18:00 +0200, where I
live), you wrote:

S is it possible to only modify the reply template of projects, and
S let project_* sub folders inherit this parent template so i don't have
S to edit them one by one?

No.
However if you use the %FolderName macro, you can insert it in your
account macro and as long as you haven't yet created folder templates,
all folders will use this.
%SetHeader(X-Folder-ID,%FolderName)%-

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Edgar
Hello Roelof,

Wednesday, October 1, 2003, 9:14:22 PM, you wrote:

 However if you use the %FolderName macro, you can insert it in your
 account macro and as long as you haven't yet created folder templates,
 all folders will use this.
 %SetHeader(X-Folder-ID,%FolderName)%-

I could not find the %SetHeader in the macro list in the help file.
Maybe I missed it but just in case I did not, is there a place where
to find these Macro's that are not in the help file or better yet a
complete overview of the macro's (and purpose).

-- 
Cheers,
 Edgar

Communicating with TB! v2.00.6, Windows XP 5.1.2600 Service Pack 1
   
I'd probably be famous now if I wasn't such a good waitress. Jane
Siberry






Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Gerrit Kiers
Hallo Roelof,

Wednesday, October 1, 2003, 9:14:22 PM, Roelof Otten wrote:

RO However if you use the %FolderName macro, you can insert it in your
RO account macro and as long as you haven't yet created folder templates,
RO all folders will use this.
RO %SetHeader(X-Folder-ID,%FolderName)%-

This sounds like a trick I'd like to use, but unfortunately I don't
understand it. I know I can create templates at account level, and
that all folders will default to these templates, unless at folder
level I create a specific template.

Where and how should I use the  %FolderName macro?

-- 
Best regards,
Gerrit Kiers

 Using The Bat! v1.62r on Windows XP 5.1 Build 2600 Service Pack 1



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Roelof Otten
Hallo Edgar,

On Wed, 1 Oct 2003 21:51:22 +0200GMT (1-10-03, 21:51 +0200, where I
live), you wrote:

 However if you use the %FolderName macro, you can insert it in your
 account macro and as long as you haven't yet created folder templates,
 all folders will use this.
 %SetHeader(X-Folder-ID,%FolderName)%-

E I could not find the %SetHeader in the macro list in the help file.

Go (in the index) for 'Template Macros' and select 'header macros'

E Maybe I missed it but just in case I did not, is there a place where
E to find these Macro's that are not in the help file or better yet a
E complete overview of the macro's (and purpose).

The help-file isn't as far developed as we'd like. It's always behind
the development of the actual release. That's why this list is so
useful.

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Roelof Otten
Hallo Gerrit,

On Wed, 1 Oct 2003 22:17:37 +0200GMT (1-10-03, 22:17 +0200, where I
live), you wrote:

RO %SetHeader(X-Folder-ID,%FolderName)%-

GK This sounds like a trick I'd like to use, but unfortunately I don't
GK understand it. I know I can create templates at account level, and
GK that all folders will default to these templates, unless at folder
GK level I create a specific template.

GK Where and how should I use the  %FolderName macro?

Samson wanted to filter his message back to the folder where they were
created. To do that, you need to identify to the folder. That's done
with the macro I suggested. You place the macro on a single line,
doesn't matter where in your templates. (New message, Reply, Forward)

Now you need to filter the messages back to their originating folder
after sending. (Or to a related folder.)
For a message from the Inbox, you need this string:
X-Folder-ID: Inbox
to be present in the kludges, it needs to be an outgoing filter, since
it's going to process outgoing messages.

Create a likewise filter for every folder you'd like the outgoing
messages to be processed different from the default.

Of course you don't need to use an extra header to place the
foldername, but a header makes it less visible for the recipient.
There's no need to bother your contacts with your archiving system.

Since most e-mail clients are able to show the headers, you'll need a
little bit of prudence when naming your folders. It wouldn't do to
have a header like: 'X-Folder-ID: Mindless twits' ;-)
But, I suppose, you wouldn't care in this case. eg

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Martin Webster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Roelof,

On 01 October 2003, 21:14 +0200 (01/10/200320:14 local time) Roelof
Otten [RO] in mid:[EMAIL PROTECTED] wrote:

S is it possible to only modify the reply template of projects, and
S let project_* sub folders inherit this parent template so i don't have
S to edit them one by one?

RO No.
RO However if you use the %FolderName macro, you can insert it in your
RO account macro and as long as you haven't yet created folder templates,
RO all folders will use this.
RO %SetHeader(X-Folder-ID,%FolderName)%-

What if you already have folder templates? And how does this differ from
the %HDR macro?

- --
As ever,
Martin Webster

The Bat! 2.00.22 w/ BayesIt! 0.4fm (Windows XP Professional Service Pack 1)

-BEGIN PGP SIGNATURE-
Version: PGP SDK 3.0.2

iQA/AwUBP3tF+lv+PP8p0/caEQItxwCg/eXc+RNMUProvHuHz0mOedkDIkIAoMeW
jxuru6nBxdDSRgrqnKiZJNM4
=Lm6r
-END PGP SIGNATURE-



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: folder templates inheritance?

2003-10-01 Thread Roelof Otten
Hallo Martin,

On Wed, 1 Oct 2003 22:24:01 +0100GMT (1-10-03, 23:24 +0200, where I
live), you wrote:

RO %SetHeader(X-Folder-ID,%FolderName)%-
MW What if you already have folder templates?

Then you're without luck.

MW And how does this differ from the %HDR macro?

Can't find any %hdr macro in the help, nor in the readme that was
released together with 2.00.06
Apart from that, I can't get any of them to work. :-(

-- 
Groetjes, Roelof



Current version is 2.00.6 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html