Hallo Brian,
On Wed, 16 Apr 2008 12:26:02 -0700GMT (16-4-2008, 21:26 +0200, where I
live), you wrote:
BA> Thank you again very, very much for your help. You're brilliant
It's flattering to read something like this, but if that really was
the case I wouldn't have missed the \.txt part in the regular
expressing that caused the extension to be deleted. :-)
BA> However, I am wondering if it is possible to change the emailed Subject line
BA> to some text other than the file name?
That would be possible, but it would be more difficult to extract the
file name from the message body. And as I'm lazy I preferred this.
In case it's really bothering you, you could try this.
Define a new header at:
Options -> Preferences -> Messages -> Message Headers -> Add
Set Name and RFC name to 'X-Files'
Disable the 'this is un address list' option and enable the latter two
options. (that should be the default.)
Change the %Subject="%SubPatt='2'"%- macro into
%SetHeader('X-Files','%SubPatt="2"')%-
in the sendfile.tpl template
And change all occurrences of %Subject in move.bat into
Header('X-Files')%-
That should do the trick.
BA> I'm not sure if changing this would also affect the move.bat code above too.
Apparently it does. :-)
BA> Regarding "setting the scheduler to run every minute..is an absolute waste
BA> of resources". I did that to test, when I had a recurring issue.
BA> But your statement compells me to ask: what resources are being wasted?, if
BA> you don't mind educating me, I am always trying to learn more, thanks.
Your computer resources. Start the task manager and watch the CPU load
while running your schedule. You'll see peaks every time the scedule is
run. So unless you're sending a file every minute, you're wasting
resources.
BA> --
You cutsign doesn't function as intended, must be Outlook that doesn't
understand things. Why are you using Outlook when you've got TB
available?
--
Groetjes, Roelof
this copy of me has been unregistered for more than 42 years.
http://www.voormijalleen.nl/
The Bat! 4.0.20.2
Windows Vista 6.0 Build 6000
3 pop3 accounts
OTFE enabled
P4 3GHz
2 GB RAM________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html