On Saturday, October 16, 2004, 15:12, Kian Andersen wrote:

> When speaking to English speaking people I use Hey or Hello When
> speaking to Danish people I use Hej

> Is it possible to have The Bat! make the different greetings depending on
> .dk or .everythingelse

On a similar subject (choosing spell checker automatically), MAU
suggested a brilliant solution making use of PopFile to classify the
incoming emails. Here is what he wrote (a bit out of context, but it
should be able to understand):

,-----
| This is the QT I use to determine the language:
| 
| ,----- [ SLANG ]
| | %IF:"%SETPATTREGEXP='(?im-s)^(X-Text-Classification)\:\s*(.*)$'%-
| | %REGEXPBLINDMATCH='%HEADERS'%-
| | %SUBPATT='2'"="eng":"%LANGUAGE='CSAPI BR'":"%LANGUAGE='CSAPI SP'"
| `-----
| 
| And in my reply templates I usually include this line:
| 
| ,----- [  ]
| | %Cursor%QINCLUDE="SLANG"%-
| `-----
`-----

Install PopFile, start classifying emails depending on language used
(it learns amazingly fast) and modify the SLANG QT to suite your needs
and you should be able to achieve what you want.

All credits goes to MAU.

-- 
Regards,
Marcus Ohlstr�m

Using The Bat! v3.0.1.33 on Windows 2000 5.0 Build 2195 Service Pack 4
PGP Public Key at http://www.canit.se/~marcus/pgp.asc





________________________________________________________
 Current beta is 3.0.2.1 Beta/1 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to