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

Hi Heijo,

@25-Mar-2003, 12:59 +0100 (11:59 UK time) Heijo Alting [HA] in
mid:[EMAIL PROTECTED] said:

HA> Does anybady know how I could pass a telephone number as an
HA> argument to a dialer application from a Bat filter?

Yes. Here's an example of a filter that will do something like this:

BeginFilter
Name: EM Phone Home
Active: 1
Source: \Inbox
Target: \Inbox
CopyFolder: \\\\none
MainSet: [EMAIL PROTECTED]
Actions: faMarkRead,faExport,faExternal,faoManualOnly,faoWaitCompletion
ExtCmd: c:\dophone.bat
ExtFile: c:\dophone.bat
SaveTemplate: c:\5Cutils\5Cdial.exe\20123456\0D\0Acls\0D\0Aexit\0D\0A
EndFilter

Just copy and paste the filter into your incoming message filter
set.

It looks for incoming messages "to" "[EMAIL PROTECTED]" (change it
to what you want).

It marks the message as "Read", exports to "C:\dophone.bat" using
the following export template:

    c:\utils\dial.exe 123456
    cls
    exit

You could even use the Address Book to supply different phone
numbers depending on the addressee of the message:

    c:\utils\dial.exe %ABtoMobile

Finally, the filter executes the c:\dophone.bat file.

- --
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/7 on Windows 2000 5.0.2195 Service Pack 2
'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1rc1-nr1 (Windows 2000)

iD8DBQE+gEm8OeQkq5KdzaARAlYOAJ9jPoqtuRa3W4qzk7umB7NaRMIyqwCfc0Jt
r7PvTPU+K1+3Ka7zZway8BM=
=1D3H
-----END PGP SIGNATURE-----



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

Reply via email to