Re: Which one to use?

2007-08-15 Thread Robin Anson
On Tue, 14 Aug 2007 at 11:42:01 -0400, Rich wrote:
 AH! Ok then, so that I may possibly better my template (perhaps
 simplifying it to as RA suggests), the next line is:

 Dear %Capital(%TOFNAME=+%if:%ABToHandle:%-
 %if:'%ABToHandle''%ABToFirstName':'%ABToHandle':'%ABToFirstName':%ABToFirstName+)

This says:
If the first name in the TO address (%ToFName) exists
   then
  use it
   otherwise
  if the address book handle is not blank
 then
if the address book handle is different to the address
   book first name,
   then
  use the address book handle
   otherwise
  use the address book first name
 otherwise (if the address book handle is blank)
use the address book first name

-- 
Robin

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




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


Re: Which one to use?

2007-08-14 Thread Robin Anson
On Mon, 13 Aug 2007 at 21:27:59 -0400, Rich wrote:
RA On Mon, 13 Aug 2007 at 16:03:38 +, Doug wrote:
 That way, even if the address says Quality Manager, your reply will
 say Dear Dave,
 Dear %ABTOFirstName,
 If you reply to someone who is not in your address book, you will get
 Dear ,

RA Even better is to use
RA Dear %Capital(%ABToFirstName=%ToFName)
RA If the Address book first name is blank, it takes the first name from
RA that address.

 In my (2.12) templates I have:
 Dear %Capital(%TOFNAME=+%if:%ABToHandle:%-
 but do not know what it does!

 I like the sound (explanation) of RA's template, and sometimes I am
 puzzled as to how occasionally the way my emails get addressed seems
 very counter-intuitive! Maybe I'd be better off adopting his.

 Can anyone please explain to me (not remembering where it came from)
 what my present template does?

You don't seem to have quoted the entire part. The next line or
perhaps more are required. What you have there says use the first name
of the address if it exists. If it doesn't, then if the address book
handle is present ... but what to do in that case appears on the next
lines.

Presumably the address book handle contains the person's common name
(i.e. Jim instead of James). Unfortunately that is pretty restricted
because each one address book handle must be unique if it is not
blank.


-- 
Robin

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




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


Re[2]: Which one to use?

2007-08-14 Thread rich gregory
 That way, even if the address says Quality Manager, your reply will
 say Dear Dave,
 Dear %ABTOFirstName,
 If you reply to someone who is not in your address book, you will get
 Dear ,

RA Even better is to use
RA Dear %Capital(%ABToFirstName=%ToFName)
RA If the Address book first name is blank, it takes the first name from
RA that address.

 In my (2.12) templates I have:
 Dear %Capital(%TOFNAME=+%if:%ABToHandle:%-
 but do not know what it does!
 I like the sound (explanation) of RA's template, and sometimes I am
 puzzled as to how occasionally the way my emails get addressed seems
 very counter-intuitive! Maybe I'd be better off adopting his.
 Can anyone please explain to me (not remembering where it came from)
 what my present template does?

RA You don't seem to have quoted the entire part. The next line or
RA perhaps more are required.



AH! Ok then, so that I may possibly better my template (perhaps
simplifying it to as RA suggests), the next line is:

Dear %Capital(%TOFNAME=+%if:%ABToHandle:%-
%if:'%ABToHandle''%ABToFirstName':'%ABToHandle':'%ABToFirstName':%ABToFirstName+)

Thank you so much.




-- 
Beautiful Butterfly Displays
http://FramedButterflyArt.com




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


Re: Which one to use?

2007-08-13 Thread Doug Higby
Hello John,

If you are dealing with a limited set of addresses, you can use the
info from your address book instead.  Then you match the address, and
use whatever you have in the Firstname field in your address book.
That way, even if the address says Quality Manager, your reply will
say Dear Dave,

Dear %ABTOFirstName,

If you reply to someone who is not in your address book, you will get
Dear ,
This tells you to close the message, add the person to your address
book, and then click on reply again.  Now that I think of it, I'll bet
I could automate that too...

-- 
 Dougmailto:[EMAIL PROTECTED]
**
TheBat! Voyager 3.99.4
on Windows XP



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


Re: Which one to use?

2007-08-13 Thread John Phillips
Doug,

On Mon, 13 Aug 2007, at 16:03:38 [GMT +] (02:03:38 14/08/2007
Australian Eastern Time) you wrote:

 If you are dealing with a limited set of addresses, you can use the
 info from your address book instead.  Then you match the address, and
 use whatever you have in the Firstname field in your address book.


Thanks for the help!

-- 
Regards,
John Phillips
Sydney, Australia

Using Bat! 3.99.3, Windows XP, Service Pack 2
Dell Precision M70 Laptop, 1 meg ram.




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


Re: Which one to use?

2007-08-13 Thread Robin Anson
On Mon, 13 Aug 2007 at 16:03:38 +, Doug wrote:
 If you are dealing with a limited set of addresses, you can use the
 info from your address book instead.  Then you match the address, and
 use whatever you have in the Firstname field in your address book.
 That way, even if the address says Quality Manager, your reply will
 say Dear Dave,

 Dear %ABTOFirstName,

 If you reply to someone who is not in your address book, you will get
 Dear ,
 This tells you to close the message, add the person to your address
 book, and then click on reply again.  Now that I think of it, I'll bet
 I could automate that too...

Even better is to use

Dear %Capital(%ABToFirstName=%ToFName)

If the Address book first name is blank, it takes the first name from
that address.

-- 
Robin

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




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


Re[2]: Which one to use?

2007-08-13 Thread rich gregory
RA On Mon, 13 Aug 2007 at 16:03:38 +, Doug wrote:
 That way, even if the address says Quality Manager, your reply will
 say Dear Dave,
 Dear %ABTOFirstName,
 If you reply to someone who is not in your address book, you will get
 Dear ,

RA Even better is to use
RA Dear %Capital(%ABToFirstName=%ToFName)
RA If the Address book first name is blank, it takes the first name from
RA that address.



In my (2.12) templates I have:
Dear %Capital(%TOFNAME=+%if:%ABToHandle:%-
but do not know what it does!

I like the sound (explanation) of RA's template, and sometimes I am
puzzled as to how occasionally the way my emails get addressed seems
very counter-intuitive! Maybe I'd be better off adopting his.

Can anyone please explain to me (not remembering where it came from)
what my present template does?

Thx
A Dummy



-- 
Beautiful Butterfly Displays
http://FramedButterflyArt.com




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


Which one to use?

2007-08-09 Thread John Phillips
I get a lot of e-mails from people who have their reply or from
address all in lower case.

I would like to convert their given name to Upper and Lower case in my
reply, first letter upper case, balance lower case.

i.e. sharon smith at isp dot com I would like to have the first line in my
reply read Hello Sharon, not Hello sharon.

Read in the macro help file I see a CAPITALFIRST macro, but if I add
the parameter =%TONAME I get Hello Sharon smith.

I really only need the first part of the name;  how to do this?





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


Re: Which one to use?

2007-08-09 Thread Urban
Thursday, August 9, 2007, John Phillips wrote:

 Read in the macro help file I see a CAPITALFIRST macro, but if I add
 the parameter =%TONAME I get Hello Sharon smith.

 I really only need the first part of the name;  how to do this?

Use TOFNAME instead of TONAME

-- 
Urban

Franklin discovered electricity by rubbing two cats backwards and
declared, A horse divided against itself cannot stand.. Franklin died
in 1790 and is still dead.






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


Re: Which one to use?

2007-08-09 Thread John Phillips
Urban,

On Fri, 10 Aug 2007, at 00:01:38 [GMT +0200] (08:01:38 10/08/2007
Australian Eastern Time) you wrote:

 Use TOFNAME instead of TONAME

Thanks!

-- 
Regards,
John Phillips



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