Hallo tom,

On Sat, 30 Oct 2004 16:57:02 -0500GMT (30-10-2004, 22:57 +0100, where
I live), you wrote:

T> Is this something that cannot be done? That a group's AB can't be individually
T> worked with if a group bcc is selected in template?

Better solution:
Create a directory GuitarSchool on your C: drive
Create a subdirectory NextLesson
Now you'll have a path C:\GuitarSchool\NextLesson
Create a GuitarSchool.bat that contains:

@echo off
C:
cd \GuitarSchool
del SendLesson.bat
move NextLesson\SendLesson.bat .
SendLesson

Place the GuitarSchool.bat and the the lesson templates in your
GuitarSchool directory. You'll have to adapt your lesson templates a
bit, because we're not going to BCC them anymore, just skip the
addressing part from the templates.

Forget about the filters adding and deleting the addresses to the
different AB groups, but set the filter to export the message using
this template:

C:\Program Files\The Bat!\thebat.exe 
/mailU=MyAccount;T=C:\GuitarSchool\Lesson1.txt;TO=%ToAddr

for the subscription filter and continue with lesson2-7.
Replace MyAccount for the name of the account you intend to use
You set the export action of all filters to the same file, called:
C:\GuitarSchool\NextLesson\SendLesson.bat

When you prefer to personalize the messages a bit, you can add the
addresses in an AB group, so you can use macros like %ABToName and
such. But that's dressing, so I won't discuss that any further.

In order to keep you from doing things you might not understand, I'll
do a quick round through the batchfile I gave you.

@echo off

This is merely visual, so the batch file won't send all issued command
to the screen

C:

Select the proper drive

cd \GuitarSchool

Select the proper directory

del SendLesson.bat

Delete the SendLesson.bat that was used during the previous run
(yesterday). When there isn't a yesterday's SendLesson.bat, you'll get
an error, but the batch command will continue to execute.

move NextLesson\SendLesson.bat .

Don't forget the last dot, that's no mistake.
This command moves the SendLesson.bat from the NextLesson subdirectory
to the current directory (that's the meaning of the dot).
This is done to avoid problems like TB wanting to add lines to a batch
file that's being executed. This way you'll have two files, one that's
being edited and one that is (or has been) executed.

SendLesson

This calls the SendLesson.bat, note that the SendLesson.bat won't be
executed when you've got a SendLesson.com .exe or .cmd in your path,
that's unlikely, but in case of problems, you can change it to
SendLesson.bat

-- 
Groetjes, Roelof

What youth deemed crystal, age finds was dew.

The Bat! 3.0.2.4 Rush
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN

________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to