-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In <mid:111554074.20021104172958@;bogartsdaddy.com>,
Jan Rifkinson [JR] wrote:'

Allie>> [...] This little exercise makes me realize that I can
Allie>> extract text from remote files defining the text in the
Allie>> remote file through the %Put macro. [/...]

JR>   Could you expand a little on this please?

If you have a text file and wish to extract a string of text from it
and place it in a message, you could do this using a regex macro.
This is what I did with the NOD32 version information. You use this
basic template:

%SetPattRegexp="<regular expression to match string you wish to
                extract>"

%Regexpmatch="%Put='<filename and path>'"

Using the %Put macro, TB! extracts the text from the file so that an
expression match can be achieved.

We've been doing this mainly with received message text and headers.
However, we can also do this with text files anywhere on the system.

- -- 
Allie C Martin     \      TB! v1.62/Beta7 & WinXP Pro (SP1)
 List Moderator    /   PGP Key - http://pub-key.ac-martin.com
 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Win32) - GPGshell v2.65

iD8DBQE9xvcoV8nrYCsHF+IRAirDAJ9g15dm/f4vxD7lR0FBj6UrmIGdGQCfdC4k
nQ53Xb0N2tRhjMsxZBbjkgM=
=H20T
-----END PGP SIGNATURE-----


________________________________________________
Current version is 1.61 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to