Re: %TOFNAME
Hi On Sunday 13 February 2005 at 7:15:03 PM, in mid:[EMAIL PROTECTED], Robin Anson wrote: obviously didn't test it sufficiently well. Good job I am not working as a programmer! For at least one major software company, releasing code that has not been thoroughly tested would appear to be de rigeur. ;-) -- Best regards, MFPAmailto:[EMAIL PROTECTED] Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 1 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Robin, On 13-02-2005 19:56, you [RA] wrote in mid:[EMAIL PROTECTED]: I have also just tried it (and I like it!). I also get the problem with extra lines. It appears that if you reply to just one person, there are n additional lines. If you add another person to that message there are n+x extra lines. X != 1. RA I'll look at it again then. Will you let us know when you have uploaded the new version? RA Well, it is not fixed, it is a parameter that you can change called RA %_GAR_Default. It is not particularly easy to set a QT up to meet RA everyone's requirements, but I included a section at the beginning RA of the QT that says: RA%REM= RA Adjust the %_GAR_Max and %GAR_Default values in the next lines to RA suit your needs RA%- RA%_GAR_Max=4%- RA%_GAR_Default=Hi all,%- RA I haven't done much macro writing for TB! v3, but I think you can RA provide parameters when you call the QT now. Maybe you're right. Or, you could just copy it and have a version for each language... :) RA That would be another way to do it. I invite anyone who wants to try RA to incorporate this to update the QT. It is probably a bit above my ability. * Maybe another possible extension could be to also greet people in the CC field in parentheses - like Hello Bill (Bob, John)? RA I believe that the convention is one does not directly address the CC RA list. Certainly that is what I do. So this wouldn't do what I want from RA the QT. Yeah, you might be right... :) -- greeting Best regards /greeting author Peter Fjelsten /author thebat version 3.0.1.33 Pro /thebat version env. ~18 POP3, 1 IMAP (MailMax 5.5) 1 IMAP (Exchange 6.5), 175K msgs. /env. os Windows XP 5.1 Build 2600 Service Pack 2 /os Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Hallo Stuart, On Sun, 13 Feb 2005 09:15:53 -0600GMT (13-2-2005, 16:15 +0100, where I live), you wrote: SC Actually this is not quite what I was referring to. I have some groups SC of people I send mail to. For example the executive of the SC Paramedic Association I belong to. When I select to send to this group SC it puts the line PAM Exec in the To: line and not the peoples names. SC When this happens I no greeting at all. When it's only some AB groups that have this problem,. then you might check whether you've got an AB template for those groups. -- Groetjes, Roelof It takes about ten years to get used to how old you are. The Bat! 3.0.2.10 Windows XP 5.1 Build 2600 Service Pack 2 1 pop3 account, server on LAN pgpYSIDSFO5fk.pgp Description: PGP signature Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Mon 14 February 2005, 3:22:10 +1000, Stuart Cuddy wrote: Ok, I solved this problem. In your template there is a line between :~~%_GAR_Default~~ and %To=%To=%_GAR_Text%- near the bottom of the template. Removing this spare line solves the problem. Okay, that may be it. As I mentioned in another email, the QT I use here is slightly different because I don't use a default greeting, I leave it blank if there are more than GAR_Max recipients. I rewrote it slightly for the library, and obviously didn't test it sufficiently well. Good job I am not working as a programmer! Also does anyone know why most of the templates are listed twice on the website? I did notify Marck of the same problem a few months ago. He recognised the cause of the problem. MARCK, ARE YOU LISTENING?? -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Mon 14 February 2005, 1:17:27 +1000, Peter Fjelsten wrote: RA Yes there may be a problem in there, although that should just put a RA couple of blank lines after the greeting and before the cursor. If RA Stuart continues to have a problem there, I will try to debug it RA again. I have also just tried it (and I like it!). I also get the problem with extra lines. It appears that if you reply to just one person, there are n additional lines. If you add another person to that message there are n+x extra lines. X != 1. I'll look at it again then. Things you might want to consider if you decide to extend the macro: * People (like me) might be using the greeting type based on time of day which decides with stands in front on the list of names. Therefore you should possibly not add any type of greeting. Also, the fixed hi all might not be fitting if you also answer mail to non-English-speaking people? Well, it is not fixed, it is a parameter that you can change called %_GAR_Default. It is not particularly easy to set a QT up to meet everyone's requirements, but I included a section at the beginning of the QT that says: %REM= Adjust the %_GAR_Max and %GAR_Default values in the next lines to suit your needs %- %_GAR_Max=4%- %_GAR_Default=Hi all,%- I haven't done much macro writing for TB! v3, but I think you can provide parameters when you call the QT now. That would be another way to do it. I invite anyone who wants to try to incorporate this to update the QT. * Maybe another possible extension could be to also greet people in the CC field in parentheses - like Hello Bill (Bob, John)? I believe that the convention is one does not directly address the CC list. Certainly that is what I do. So this wouldn't do what I want from the QT. Of course, the macro QT library is just a starting point for the rest of us to create our own automations for TB!, so anyone is free to rework it to their heart's content. I really like the aka: bit. Thanks. I find it very useful and use a similar mechanism to define default message receipt and message reading confirmations on a user basis and also default signature files on a user basis. -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Dear Robin, @14-Feb-2005, 06:15 +1100 (13-Feb 19:15 UK time) Robin Anson [RA] in mid:[EMAIL PROTECTED] said to Stuart: RA Okay, that may be it. As I mentioned in another email, the QT I use here RA is slightly different because I don't use a default greeting, I leave it RA blank if there are more than GAR_Max recipients. I rewrote it slightly RA for the library, and obviously didn't test it sufficiently well. Good RA job I am not working as a programmer! Also does anyone know why most of the templates are listed twice on the website? RA I did notify Marck of the same problem a few months ago. He recognised RA the cause of the problem. RA MARCK, ARE YOU LISTENING?? Yes - I rectified it back then, but it seems to have happened again. And I have an idea how ... Damn them robots! -- Cheers -- //.arck D Pearlstone -- List moderator and fellow end user TB! v3.0.2.10 on Windows NT Clone 5.2.3790 ' pgpfLrfznogol.pgp Description: PGP signature Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re:%TOFNAME
Stuart, Sunday, February 13, 2005, 11:22:10 AM, you wrote: I like this method, however when I use it my cursor ends up about 7 lines down the page. Am I doing something wrong. My template is as follows. --- %QINCLUDE=Greet_All_Recipients %- %Cursor Hmm, don't know why that happens. It doesn't to me - did you edit the QT at all? SC Ok, I solved this problem. In your template there is a line between SC :~~%_GAR_Default~~ and SC %To=%To=%_GAR_Text%- SC near the bottom of the template. Removing this spare line solves the SC problem. I tried this template as well and noticed the extra lines. It seems to add an extra line for each person. I got rid of the line (as described above) and that reduced the number of added lines but I still get extra lines. Any other suggestions? -- Michael Rudnick [EMAIL PROTECTED] Using The Bat! 3.0.1.33 on Windows 5.1 (2600) Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Mon 14 February 2005, 4:42:34 +1000, Michael Rudnick wrote: I tried this template as well and noticed the extra lines. It seems to add an extra line for each person. I got rid of the line (as described above) and that reduced the number of added lines but I still get extra lines. Any other suggestions? Make sure there are no blank lines at the end of your QT as well. -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Hello Stuart, On Sat, 12 Feb 2005 08:41:27 -0600 GMT (12/02/2005, 21:41 +0700 GMT), Stuart Cuddy wrote: SC Hello %TOFNAME, This will take the first name of the TO address. In case there is no name, it will take the part of the email address before the @. SC If the person I am sending to is in the address book as follows: SC First name: John SC Last Name: Doe SC E-mail: [EMAIL PROTECTED] If you want John, you need the macro %ABTOFirstName instead. This will look for the first name as stored in the addressbook. -- Cheers, Thomas. Deine Stereoanlage hat aber viele Knoepfe! - Na, ja, mit Reissverschluss saehe sie ja auch ziemlich bloed aus. Message reply created with The Bat! 3.0.2.10 under Windows XP 5.1 Build 2600Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Good evening Stuart, on Sat, 12 Feb 2005 08:41:27 -0600 GMT your local time you wrote: SC Why is this and how do I fix it? Use this: Hello %ABTOFirstName(%TOFName), -- Regards, Peter Using Ritlabs TheBat! 3.0.2.10 (OS: Windows XP 5.1.2600 Service Pack 2) Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
Hello Peter Hampf everyone else, on 12-Feb-2005 at 17:56 you (Peter Hampf) wrote: Use this: Hello %ABTOFirstName(%TOFName), Interesting. All these years, and I just now had a closer look at this one. Very clever solution. Thanks for posting it! -- Best regards, Alexander (http://www.neurowerx.de - ICQ 238153981) Ritual is the husk of faith and loyalty, and the beginning of confusion. -- Tao Te Ching Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Sun 13 February 2005, 1:41:27 +1000, Stuart Cuddy wrote: When I send mail and start typing in the TO: name as [EMAIL PROTECTED] and then tab into the body of the message I end up with: Hello abc, Why is this and how do I fix it? You could use my Greet All Recipients QT in the macro and QT library (http://cgi.silverstones.com/library.php). What it does is: * automatically put multiple recipients on the greeting line (eg Hello George, Alan, Katie,) * for each person select the name used in the following order: 1. If there is a line aka: nickname in the addressbook memo field, it will use nickname 2. If there is no nickname, it will use the firstname in the addressbook 3. If there is no firstname in the addressbook, it will use the %ToFName macro -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Sun 13 February 2005, 11:26:35 +1000, Stuart Cuddy wrote: I like this method, however when I use it my cursor ends up about 7 lines down the page. Am I doing something wrong. My template is as follows. - %QINCLUDE=Greet_All_Recipients %- %Cursor -- Best regards, - Hmm, don't know why that happens. It doesn't to me - did you edit the QT at all? And to offer you a further challenge, if I address it to a group of people it seems to have no greeting at all. Yes, there is a line in the QT %_GAR_Max=4%- that defines the maximum number of names that you want to appear on the greeting line. Change that value 4 if you want to see more. Personally, 4 is about the maximum number of names I want to see before it becomes slightly absurd. -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Sat 12-Feb-05 8:55pm -0600, Robin Anson wrote: Hmm, don't know why that happens. It doesn't to me - did you edit the QT at all? I have not tried that macro, but it appears CRs are added in several of the last few lines. -- Best regards, Bill Beta 3.0.2.10 Pro BayesIt! 0.8.0 Release X-Ray 1.4.0.0 XMP 0.9.6 XP Pro SP2 POP3 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: %TOFNAME
On Sun 13 February 2005, 14:45:41 +1000, Bill Mccarthy wrote: I have not tried that macro, but it appears CRs are added in several of the last few lines. Yes there may be a problem in there, although that should just put a couple of blank lines after the greeting and before the cursor. If Stuart continues to have a problem there, I will try to debug it again. My version is slightly changed from the one in the library at that particular point. -- Robin Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: TOFNAME macro
Hallo Luc, On Sat, 10 Aug 2002 15:12:53 +0200GMT (10-8-02, 15:12 +0200GMT, where I live), you wrote: L I use in most of my QT's the %ABtoFIRSTNAME=%TOFNAME macro. L In some i use only TOFNAME. L I was wondering if it's not better to use the TOFNAME macro in all of That's totally up to you, but I don't think it's necessary. Because this macro means that you use the first name from the addressbook unless the recipient isn't in your address book, in the latter case the ToFName is being used. L them so the To field is used regardless of the recipient is in my AB L or not. This would prevent me of switching between QT's when i mail L to someone who's adress isn't in my AB. Any suggestions? I see no need to switch QT's for recipients who're not in your AB, not for this reason at least. -- Groetjes, Roelof Current version is 1.61 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re:%TOFNAME for more then one address
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Shahar Saturday, January 27, 2001, 7:44:56 AM, you wrote: SS Hi %TOFNAME. SS I usually send messages to my favorites by choosing them from the SS little arrow near the "New message" button. SS When I choose only one recipient the macro works fine but when I have SS in the To field more then one address, the Macro show only the first SS one. SS What can I do in order to see all my recipients names in the beginning SS of the message ? I would be very interested to learn how to do this as well! Le me know if you find out how and I will do the same. Can anyone else in this list give us a hand? - -- Best regards, - - Gerrymailto:[EMAIL PROTECTED] Running The Bat! v1.49c(Personal) on Windows 98 -BEGIN PGP SIGNATURE- Version: PGP 6.5i Comment: Digitally Signed. - My PGP key ID is: 0x57F28ABC iQA/AwUBOnLqpBalOqMy8yvQEQJvtACeImSDB7+5PhuLvEyIO5T3sklyYbQAoNnE tH9CDhU7oPyKs05jQ8P5/2XB =3krQ -END PGP SIGNATURE- -- __ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: %TOFNAME for more then one address
Hello, Saturday, January 27, 2001, 5:50:10 PM, A. Curtis Martin wrote: SS What can I do in order to see all my recipients names in the SS beginning of the message ? I don't know of any way to do this. AFAIK, it cannot be done. How about using a regular expression which filters the recipients' (first) names from the %TOList macro? I tried and failed, but my knowledge on regular expressions is very limited. Maybe someone else would like to try? I move this to TBTECH. David -- David Buntenbroich e-mail: [EMAIL PROTECTED] WWW: http://www.buntenbroich.de The Bat! 1.49c on Windows NT 5 0 Build 2195 Service Pack 1 -- __ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: %TOFNAME for more then one address
Hello David, Historians believe that Sat, 27 Jan 2001 at 19:19:32 GMT +0100 was when, David Buntenbroich [DB] typed the following: DB How about using a regular expression which filters the recipients' DB (first) names from the %TOList macro? You can do that, but you have to set some maximum number of names. In this case, that would probably be a bad political move. DB I tried and failed, but my knowledge on regular expressions is very DB limited. Maybe someone else would like to try? Once you get started, this type of pattern is fairly simple, but I'm not sure this is the best option. If the recipient list tends to be 5 or more, this expression will become very unwieldy. -- Thanks for writing, Januk Aggarwal Using The Bat! 1.49c under Windows 98 4.10 Build A I should probably engage that largish, grey organ lurking inside of my skull a bit more often. I think it's called a brain. -- Simon -- __ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org