Mandara,
On Fri, 10 May 2002, at 00:32:26 [GMT +0200] (which was 4:02 AM where I live) you
wrote:
M> I thought something... Is it possible somehow attach a random file?
M> For instance, a small simbolic pictures (20-30 b{i|y}tes)?
There was a similar query in TBTECH recently and I am pasting the solution here.
You may have to use the %Attachment macro to achieve what you want.
,----- [ ]
| Conceptually, the easiest way to do what you want is to create a bunch
| of text files. Each file would contain one of your templates. So in
| your example, you'd have 3 files:
| myreply1.txt, myreply2.txt, myreply3.txt
|
| If you really want the templates as quick templates, you'll still need
| the files, but in the files, just use a %QINCLUDE. For example,
| myreply1.txt would contain:
| %QINCLUDE="myreply1"
|
| Now for the trick. Once you've set up these files, you'll create one
| additional file, an index. List the full path and filenames for your
| templates, one per line (Note, this can be done with one easy
| DOS command if you wanted.)
| c:\somedir\myreply1.txt
| c:\somedir\myreply2.txt
| c:\somedir\myreply3.txt
|
| Assuming you called the index, index.dat, then in your main template,
| use:
| %INCLUDE="%COOKIE='c:\somedir\index.dat'"
'-----
TGIF, Have a great weekend!
--
Warm regards,
Raj
mailto:[EMAIL PROTECTED]
Performance Appraisal Terms And Their Real Meanings
Quick Thinking - Offers plausible excuses
Replied on Friday, May 10, 2002 using TB Ver 1.60c on Windows 2000
________________________________________________________
Current Ver: 1.60i
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