Re: Macro quest... :-)

2002-06-01 Thread Dierk Haasis

Hello Pekka!

On Friday, May 31, 2002 at 10:02:18 PM you wrote:

 Seems that %ACCOUNT and %FROM don't mix too well :-(

You are right. I am not quite sure if this behaviour can be changed by
RITLabs, since the %ACCOUNT macro - IMO - is conceptually superior (in
the sense of higher in the hierarchy) to the %FROM macro. It also
changes the From header.

You can OTOH just change your From address in the other account.




-- 
Dierk Haasis
http://www.Write4U.de
http://Interest.Write4U.de/pongo

PGP keys available: mailto:[EMAIL PROTECTED]?Subject=SendMyPGPkeys

The Bat 1.60n on Windows 95 4.0 1212 C

Sonar no cuesta nada (Träumen kostet nichts.).



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-06-01 Thread Thomas F

Hello Dierk,

On Sat, 1 Jun 2002 10:17:25 +0200 GMT (01/06/02, 15:17 +0700 GMT),
Dierk Haasis wrote:

 Seems that %ACCOUNT and %FROM don't mix too well :-(

DH You are right. I am not quite sure if this behaviour can be changed by
DH RITLabs, since the %ACCOUNT macro - IMO - is conceptually superior (in
DH the sense of higher in the hierarchy) to the %FROM macro. It also
DH changes the From header.

I do believe that the concept (and its superiority issues) you are
referring to was conceived by the Rit guys themselves. I also do not
see why a %From macro (read: command) issued later in an interpreter*
cannot be followed.

*Do people still know the idea of an interpreter versus a compiler in
computer lingo? If not, here it is: An interpreter translates and
executes line-by-line. That's what the TB macro machine does (or is
supposed to do).

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Nach Ansicht des Sachverstaendigen duerfte der Verlust zwischen
250.000 und einer Viertelmillion liegen.

Message reply created with The Bat! 1.60n
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-06-01 Thread Pekka

Hello Dierk,

Saturday, June 1, 2002, 11:17:25 AM, you wrote:


 Seems that %ACCOUNT and %FROM don't mix too well :-(

DH You are right. I am not quite sure if this behaviour can be changed by
DH RITLabs, since the %ACCOUNT macro - IMO - is conceptually superior (in
DH the sense of higher in the hierarchy) to the %FROM macro. It also
DH changes the From header.

DH You can OTOH just change your From address in the other account.

But I won't do that. Anyway, thanks for the replies - you, Miguel
and Jonathan!


-- 
Best regards,
Pekka



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-05-31 Thread Jonathan Angliss

On Friday, May 31, 2002, Pekka wrote...

 I have a problem. Maybe I'm overseeing something but I can't seem to
 be able to change the from-field with a macro. What I want to do
 is to change a certain account's default from name (Pekka P) to
 Pekka P whenever I mail to certain people. Of course it's possible
 with the folder templates (the identity tab) but I can't make it
 happen with AB templates! I use the %ACCOUNT macro and that works
 fine but %FROM has no effect on the sender's name.

I've noticed using the %ACCOUNT and the %FROM macros together have
this affect (ie, it uses the Account's details, instead of the %FROM
values). I'd like to know the answer to this as well.

-- 
Jonathan Angliss
([EMAIL PROTECTED])




Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-05-31 Thread Pekka

Hello Miguel,

Friday, May 31, 2002, 7:56:12 PM, you wrote:


MAU Try using %FROM=%FROM=PekkaP [EMAIL PROTECTED]

MAU You can do it with a normal folder or AB template, or with a QT.

It didn't work :-(. But when I removed the %ACCOUNT macro it worked
alright! But then again, (without the %ACCOUNT macro) if I have my
focus on a wrong account the message (of course) ends up in a
wrong outbox...

So, it seems that there's no way to really automate this simple
thing - to create a message to someone by clicking an address in the
favourites drop-down list and expect that the Pre-defined fields
are filled the way I want and the mail goes to the correct outbox -
no matter whether the focus was on that account or not?!

Seems that %ACCOUNT and %FROM don't mix too well :-(


-- 
Best regards,
Pekka
The Bat! 1.60k, Win98SE, 300 MHz/32 Mb



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-05-31 Thread Peter Palmreuther

Hello Jonathan,

On Friday, May 31, 2002 at 7:14:08 PM you wrote (at least in part):

JA %ACCOUNT=accountname
JA %FROM=%FROM=Myalias [EMAIL PROTECTED]
[...]
JA Now if I don't include the %ACCOUNT macro, this works fine, and sets
JA the %FromAddr = [EMAIL PROTECTED] just as I wanted... but if I use the
JA %ACCOUNT macro, it puts in the accounts From Address instead.

It's an old issue ... %ACCOUNT _always_ take precedence before and
%FROM macro, when used at the same time (not even required to be in
the same macro, it overwrites even if you include one of them or both
from QT(s)).

It seems templates in general are not strictly parsed and evaluated
'line by line, char by char', but as if '%ACCOUNT' (and some few other
IIRC) set a property which applied to the result of evaluating after
everything is done ...

Call them 'global macros' or whatever :-)

Another thing I wish being avoided in v2 :-)
-- 
Regards
Peter Palmreuthermailto:[EMAIL PROTECTED]
(The Bat! v1.60m on Windows 2000 5.0 Build 2195 Service Pack 1)

If at first you don't succeed, try following the instructions.



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com



Re: Macro quest... :-)

2002-05-31 Thread Miguel A. Urech

Hello Pekka,

 So, it seems that there's no way to really automate this simple
 thing 

Right. That is why I mostly use QTs. To select language, formal or
informal greetings and signatures, etc.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.60c



Current Ver: 1.60m
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com