Re: Clearing all IMAP caches

2006-11-23 Thread Marcus Ohlström

On 11/21/06, Peter Fjelsten [EMAIL PROTECTED] wrote:


I know I can clear a single folder cache through folder properties,
 but seriously, I can't be the only one in need of a global clear
 command?

I'd rather that I could assign a shortcut to it (which I believe I
cannot).



Would be great as well. Add it to the wish list and I will support it.

--
 Marcus

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


Re: Different signatures depending on recipient

2006-11-23 Thread Tom
Thursday, November 23, 2006, 12:55:16 AM, you wrote:

 Hallo Tom,

 On Wed, 22 Nov 2006 22:03:12 +1100GMT (22-11-2006, 12:03 , where I
 live), you wrote:

T I do think though that there is probably a more elegant way available
T with TB?  Is it possible to link a signature to a recipient in the
T addressbook? So each time I send an email to Joe Bloke my signature
T will automatically be A and if it is going to Jane Doe my signature
T will be B? If this can be done (by macro?), I would appreciate any
T assistance especially if it is geared to Non-Macro Experts.

 There are different approaches to this problem.
 You could use AB templates, either personal or group templates and in
 those AB templates you can define any signature you want.

Ok, tried this and it works fine. Guess this is what I was looking
for.


 Another option would be to create a couple of QTs each only containing
 a signature, let's call them sig1, sig2, sig3, etc with sig1 being
 your general signature.
 Now you take one of the AB fields that you don't use, in this example
 I use the personal fax field.
 In this fax field you enter the name of the signature QT that you want
 to use for this contact, unless you want to use your general sig1 in
 that case you can leave the fax field empty.
 At the location of the signature you place this macro:
 %QT(%ABToFax=sig1)
 The %QT() macro inserts a QT
 %ABToFax copies the contents of the personal fax field from the AB
 entry of the address in the To: header to the message body
 The construction %ABToFax=sig1 means that when the %ABToFax macro
 doesn't retrieve any data sig1 will be inserted, this happens when
 there is nothing in the personal fax field or when there is no AB
 entry for the intended recipient.
 So the full construct %QT(%ABToFax=sig1) will insert the signature
 QT that you've mentioned in the fax field, unless you've got no
 signature defined for that recipient and then it'll take the general
 signature.

This appears to be much more sophisticated but alas, I fail to
understand the steps ( as indicated my knowledge of macros is NIL).
I put the macro as indicated in the fax field (which I don't use
either) but then nothing happens. When I write a new email to someone,
the information is not automatically put into the email. The signature
is still either being taken from the account settings or if these are
empty, no signature is added. Do I then still have to enter some entry
into the text of the email to generate the macro? I tried this by
typing the %QT(%ABToFax=sig1) but this did not do anything. Apart
from the fact that typing this string seems more time consuming than
the handle for a QT (and more difficult to remember for someone like
me :)
Obviously I am missing something :(

-- 
Tom
using TheBat! 3.85.02 on XP



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


Re: Different signatures depending on recipient

2006-11-23 Thread Tom
Thursday, November 23, 2006, 7:27:29 AM, you wrote:

 On Wed, 22 Nov 2006 at 22:03:12 +1100, Tom wrote:
 I would like to use different types of signatures depending on who I
 communicate with. I am not using the function via the account (with
 the exception of this one) as for me this would not be suitable.
 Recipients are different and will require individual greetings.

 Currently I use a template for this purpose and quickly
 insert the signature that is appropriate.
 I do think though that there is probably a more elegant way available
 with TB?  Is it possible to link a signature to a recipient in the
 addressbook? So each time I send an email to Joe Bloke my signature
 will automatically be A and if it is going to Jane Doe my signature
 will be B? If this can be done (by macro?), I would appreciate any
 assistance especially if it is geared to Non-Macro Experts.

 The approach I use is to store this information in the memo field in
 the address book.

Sorry but exactly is this memo field?

 I store signature, closing text, nickname and other information in the
 memo field. So an entry for David Smith might look like this:

 akaDave/aka
 closingBest Regards/closing
 sigwork/sig

 Then I have a quick template to extract that information:
 ===[ Start Get_Memo_Attribute ]===
 %Rem='

 Usage:
attribute
 value=%QInclude(Get_Memo_Attribute,Tag,Default_Value)

 '%-
 %If:'%SetPattRegExp=(?im)^%_1%RegExpMatch=%ABToMemo'='':'%_2'%-
 :'%If:+%SetPattRegExp=(?im)^(%_1/)%RegExpMatch=%ABToMemo+++:++%-
 :+%SetPattRegExp=(?im)^(?:%_1)(.*?)(?:/%_1)%RegExpMatch=%ABToMemo+'%-

 [ End Get_Memo_Attribute ]

 This looks in the address book entry for the individual for a
 particular tag (e.g. sig or aka) and returns the text for that
 attribute if it exists, or the default value if it doesn't. So if you
 are using it for a signature name (and in the example of Dave Smith
 above, I would have a quick template called worksig) you only have
 to put in a signature name when it is different from your standard
 one.

 If you want more information, I can provide you with the QTs I have
 that use this.

Similar to my follow up to Roelof, this is way beyond me. I don't
understand if this is something that I need to set up once and then
can retrieve easily with a few keystrokes or if I actually have to
remember these codes every time I needed to write an email?

-- 
Tom
using TheBat! 3.85.02 on XP



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


Re: %OATTACHMENTS - can you list one filename per line instead of comma-separated?

2006-11-23 Thread Barry
On Wed, 15 Nov 2006 00:52:24 +0100, Roelof Otten wrote:

 M I notice both have a TB!v2 version; presumably that's the one for
 M v3 also?
 
 Yes, the difference is between v1 and v2 as there were some changes in
 the macro stuff between those versions.

I'm confused, I too would like a list of attachments 'line by line' so I
tried the macros you suggested and I just get a comma separated list same
as before.

I'm sure I must be missing something but I can't see what!

I invoke the macro with CTRL-SPACE after inserting the attachments.

-- 
Best regards
Barry
barryh'at'kentra'dot'co'dot'uk

Using TheBat! version 3.85.03
and AntispamSniper 1.6.7.3



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


Re: Different signatures depending on recipient

2006-11-23 Thread Chris W .

Tom @ 2006-11-23 2:49:03 AM
Different signatures depending on recipient mid:[EMAIL PROTECTED]

 I tried this by typing the %QT(%ABToFax=sig1) but this did not do
 anything. Apart from the fact that typing this string seems more
 time consuming than the handle for a QT (and more difficult to
 remember for someone like me :)

The %QT(%ABToFax=sig1) goes in your templates, you create a number
of QuickTemplates called sig1 ... sign, then, in the Fax field, you
type the name of the signature quick template you would like used.

-- 
Chris

Using The Bat! v3.85.03 on Windows XP 5.1 Build 2600 Service Pack 2.
Accessing a POP3 mailbox.

If a turtle doesn't have a shell is he homeless or naked?

pgpc78m1ZPRY5.pgp
Description: PGP signature

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

Re: Different signatures depending on recipient

2006-11-23 Thread Robin Anson
On Thu, 23 Nov 2006 at 19:53:04 +1100, Tom wrote:
 The approach I use is to store this information in the memo field in
 the address book.

 Sorry but exactly is this memo field?

The tab labelled Other in the address book entry

 Similar to my follow up to Roelof, this is way beyond me. I don't
 understand if this is something that I need to set up once and then
 can retrieve easily with a few keystrokes or if I actually have to
 remember these codes every time I needed to write an email?

It's something you set up once.

My new message template includes a line that says:
%Qinclude=setsig%-

Setsig is a quick template that looks at the list of recipients and
determines an appropriate signature for the email. If there is only
one recipient, it goes to the memo field (the other field) and looks
for a line in there that looks like:

sigsomething/sig

If it finds that is uses a quick template called SomethingSig as the
signature.

If it doesn't find such a line is uses a quick template called
DefaultSig as the signature.

So you set it up once, and then it automatically finds the required
signature file. You don't need any keystrokes to retrieve it.

The clever thing about my Setsig quick template is that it also deals
with choosing the right signature file if I have multiple recipients.
The way I want it to work is if the majority of the recipients of an
email should have a particular signature file (for instance, they are
all part of a project I am working on that has a particular signature
file) then that signature file is used. Otherwise the default
signature file is used.

-- 
Robin

Using The Bat! v3.85.03
  Windows XP 5.1 Build 2600 Service Pack 2
  Popfile v0.22.4




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


Re: Different signatures depending on recipient

2006-11-23 Thread Tom
Friday, November 24, 2006, 3:40:17 AM, you wrote:


 The %QT(%ABToFax=sig1) goes in your templates, you create a number
 of QuickTemplates called sig1 ... sign, then, in the Fax field, you
 type the name of the signature quick template you would like used.

Excellent, now I got it (finally).
I probably should use group templates to get my set-up faster.
Probably also should have another look now at Robin's macro sample to
extend my understanding of TB power. I realise that I am only using a
small part of the features of TB yet.

-- 
Tom
using TheBat! 3.85.02 on XP



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


Re: Different signatures depending on recipient

2006-11-23 Thread Richard Wakeford
Hello Robin,

On Thu, 23 Nov 2006 you wrote in mid:[EMAIL PROTECTED]

RA If you want more information, I can provide you with the QTs I have
RA that use this.

Reg ex is way above my head but your way seems a pretty neat solution
and it would be good to try. I don't suppose you could post them here
could you or would that annoy the majority of people who have no
interest in them. If you think that's not a good idea I'd certainly
appreciate a PM with them if you feel like sharing all your hard work
amongst us lesser mortals! ;-)

-- 
Regards,
Richard

| The Bat! 3.86.07 ALPHA (beta) with POP3 account  AntispamSniper 1.7.0.3
| Windows XP (build 2600) version 5.1 Service Pack 2
| F-Prot AV, Outpost Firewall Pro, Spysweeper, Adaware, SpyBot
| CPU: Athlon 1.09 Ghz
| RAM: 1024 MB

Holiday in France: http://perso.wanadoo.fr/lazyhomes/holiday.html   



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


Re: Different signatures depending on recipient

2006-11-23 Thread Chris W .

Tom @ 2006-11-23 2:34:01 PM
Different signatures depending on recipient mid:[EMAIL PROTECTED]

 I realise that I am only using a small part of the features of TB
 yet.

Join the club.

-- 
Chris

Using The Bat! v3.85.03 on Windows XP 5.1 Build 2600 Service Pack 2.
Accessing a POP3 mailbox.

When you don't know what to do, walk fast and look worried.

pgpYssnqQ6IFM.pgp
Description: PGP signature

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

Re: Different signatures depending on recipient

2006-11-23 Thread Robin Anson
On Thu, 23 Nov 2006 at 22:10:16 +0100, Richard wrote:
RA If you want more information, I can provide you with the QTs I have
RA that use this.

 Reg ex is way above my head but your way seems a pretty neat solution
 and it would be good to try. I don't suppose you could post them here
 could you or would that annoy the majority of people who have no
 interest in them. If you think that's not a good idea I'd certainly
 appreciate a PM with them if you feel like sharing all your hard work
 amongst us lesser mortals! ;-)

Okay, here goes.

First of all, all your signatures will be stored in their own quick
templates (QTs).

Create a default signature QT called DefaultSig. This will be the one
used if you don't need a special purpose signature for someone.

Then the special purpose signature QTs should be given names like
WorkSig or PersonalSig or ProjectSig.

When you need a special purpose signature for a particular recipient,
include in the memo area of their address book entry (i.e. on the
Other tag)

sigProject/sig

That will be combined with the letters Sig to give the signature QT
name required (ProjectSig in this case).

So far so good??


Now you will need to create quick templates that do the work by
copying the QT contents below and putting that into appropriately
named QTs in your system. There are three of them.

Include the following line in your message template

%Qinclude=setsig%-

I have set up this system so that it works properly when I have
multiple recipients for an email. So if I am sending an email to a
team working on a particular project, it will use the special purpose
signature that I use for that project. However, if I have a mixture of
recipients, only some of whom are on that project team, it will use my
default signature file, because the special purpose one is not
appropriate for most of the recipients. This is done by the Setsig QT.

The Setsig QT (below) looks at the *entire list* of recipients,
including CC'd recipients, and looks for specific (non-default)
signatures in each recipient. If it finds the same specific signature
for more than 50% of the recipients, it will use that, otherwise it
will use the default signature (i.e. the DefaultSig QT).

Setsig actually just sets up the list of recipients and identifies the
appropriate signature. It calls another quick template called
FindSigToken that determines whether there is a special purpose sig file
required.

Note that these QTs are (sort of) self-documenting, so there is a lot of
explanation at the beginning that you can read if you are so inclined.

 [ Start SetSig Quick Template ] 
%REM=^%-
Set signature according to tokens in the recipient's memo field.
A token is identified by a line of the form:
sigXXX/sig

If only one signature token exists in the recipient group, and a
majority of recipients has the signature token, the XXXSig is used.
Otherwise the default signature (DefaultSig) is used.

%_SetSig_Text stores the original list of recipients
%_SetSig_Temp stores the list of recipients yet to be processed
%_SetSig_Name is set to the sig token if exactly one exists in the
recipient group
%_SetSig_No is the number of recipients with the single sig token
%_SetSig_Total is the total number of recipients
%_SetSig_Token stores the token identified for use
%_SetSig_TmpTkn is a temporary token store
%_SetSig_Type is a flag taking the following values:
   0: no signature token found
   1: one signature token found
   2: multiple signature tokens found^%-
%-
%rem=^   Initialise variables^%-
%_SetSig_Type=0%-
%_SetSig_Total=0%-
%_SetSig_No=0%-
%_SetSig_Text=%ToList%-
%_SetSig_Temp=%_SetSig_Text,%CCList%-
%_SetSig_Name=default%-
%-
%rem=^   Find Signature Token^%-
%QInclude(FindSigToken)%-
%If:'%_SetSig_Type'='1'%-
:'%IfN:^%_SetSig_No^^%Calculate(#%_SetSig_Total/2#)^%-
:^%_SigQT=DefaultSig^:^%_SigQT=%_SetSig_Token%-Sig^'%-
:'%_SigQT=DefaultSig'%-
%QInclude(%_SigQT)%-
%SetHeader(To,%_SetSig_Text)%-
- [ End Setsig Quick Template] -



Here is the FindSigToken QT that works through the list of recipients
and determines the special signature if it exists. It calls another QT
called Get_Memo_Attribute that actually looks into the address book
entry for the special signature name.

 [ Start FindSigToken Quick Template ] 
%REM=^%-
This is a recursive QT that parses the list of recipients and returns:
   * the first sig token found,
   * the total number with that token and
   * a flag identifying whether that was the only sig token found^%-
%-
%-
%If:'%setpattregexp=@%regexpmatch=%_SetSig_Temp'''%-
:'%setpattregexp=(?i)^((?:.*?)@(?:.*?))(?:,|;)\s*(.*)?%-
%regexpblindmatch=%_SetSig_Temp,%-
%SetHeader(+To+,+%subpatt=1+)%-
%_SetSig_Temp=+%Subpatt=2+%-
%_SetSig_Total=%Calculate(%_SetSig_Total+1)%-
%_SetSig_TmpTkn=+%QInclude(Get_Memo_Attribute,sig,)+%-
%If:%_SetSig_TmpTkn%-
:%-
%_SetSig_Type=1%-
%_SetSig_No=%Calculate(^%_SetSig_no + 1^)%-
%If:^%_SetSig_Token^=^^%-
:^%_SetSig_Token=%_SetSig_TmpTkn^%-

Re: Different signatures depending on recipient

2006-11-23 Thread Richard Wakeford
Hello Robin,

Gosh, daunting stuff, but I'll certainly have a go at it and thank you
very much for taking the time to post it.

-- 
Regards,
Richard

| The Bat! 3.86.07 ALPHA (beta) with POP3 account  AntispamSniper 1.7.0.3
| Windows XP (build 2600) version 5.1 Service Pack 2
| F-Prot AV, Outpost Firewall Pro, Spysweeper, Adaware, SpyBot
| CPU: Athlon 1.09 Ghz
| RAM: 1024 MB

Holiday in France: http://perso.wanadoo.fr/lazyhomes/holiday.html   



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


Re: Different signatures depending on recipient

2006-11-23 Thread MAU
Hello Richard,

 Gosh, daunting stuff, but I'll certainly have a go at it and thank you
 very much for taking the time to post it.

AOL mode on Me too :) /AOL mode off

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v3.86.07 ALPHA (beta)




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


No Help

2006-11-23 Thread Thomas Fernandez
Hello TBUDL,

Main Menu / Help / Help Topics does nothing.

F1 causes an error message:

 Missing context help topic 14028

[OK]

Can anybody confirm, or is it local to my machine?

-- 
Best regards,
Thomas.

Message created with The Bat! 3.85.03
under Windows XP 5.1 Build 2600 Service Pack 2




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


Re: No Help

2006-11-23 Thread Bob Morris
G'day Thomas,

Friday, November 24, 2006, 11:44:34 AM, you wrote:

 Hello TBUDL,

 Main Menu / Help / Help Topics does nothing.

 F1 causes an error message:

  Missing context help topic 14028

 [OK]

 Can anybody confirm, or is it local to my machine?


Both work fine for me - opens up Welcome to The Bat! - the Natural
E-Mail System or whatever the last accessed help topic was.  Looks
like something has got corrupted in your system somehow.

-- 
Regards,
 Bob
Using The Bat! v3.85.03 on Windows XP 5.1 Build 2600 Service Pack 2



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


Re: No Help

2006-11-23 Thread Robin Anson
On Fri, 24 Nov 2006 at 08:44:34 +0700, Thomas wrote:

 Main Menu / Help / Help Topics does nothing.

 F1 causes an error message:

  Missing context help topic 14028

 [OK]

 Can anybody confirm, or is it local to my machine?

Can't confirm. Works fine for me.

-- 
Robin

Using The Bat! v3.85.03
  Windows XP 5.1 Build 2600 Service Pack 2
  Popfile v0.22.4




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