-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Confusion,
On 16 February 2001 at 18:47:37 +1000 (which was 08:47 where I live)
Confusion Feedback wrote and made these points:
CF> People send me messages, via an online form, often requesting
CF> information from a drop-down list of *lots* of items. All I wanted
CF> to do was make a template which would look to see which particular
CF> info they were after (in the body of their message to me), and
CF> then incorporate this info (from a text file, I guess) into my
CF> reply. Now, I gathered that I could make the program somehow
CF> search for every possible info request and use an if/or statement
CF> to insert the right text...but can I just grab the text (say
CF> 'apple' or 'orange') from the message and insert 'apple.txt' or
CF> 'orange.txt' into my reply? Can someone point me to a suitable
CF> reference or lend a hand, bearing in mind that I have more
CF> patience than techy knowledge?
There is a quick and dirty way to do this - set up a filter for each
permutation of incoming message with the requisite template being
pulled by responding to the trigger. This is a pretty straightforward
way to do things and should be simple enough for you to set up for
yourself.
The self maintaining, versatile and clever way to do it is to write a
regular expression macro which can do exactly what you are asking but
you will probably need some help to create it.
If you want to employ the latter method, I suggest that you redirect
the reply to TBTECH (details below) and the "gurus" there can help
out.
- --
Cheers -- .\\arck D. Pearlstone -- Moderator TBUDL / TBBETA / TBTECH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com ]
[ Any opinions are my own and not those of RIT labs ]
TB! v1.49e S/N 14F4B4B2 on Windows NT 5.0 Build 2195 Service Pack 1
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 Secured
Comment: PGP Sealed for freshness
iQA/AwUBOo0IzTnkJKuSnc2gEQKdFwCg27vzeT1SeCr+cg6xHfxhetUGZiQAnR35
YWPY+YaPqrAaFocMeHwuCX1R
=mN6S
-----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 : [email protected]