JFYI: enhancements of the COOKIE macro

2006-12-29 Thread Maxim Masiutin
Hello Tbudl, Since version 3.95 you are able to specify second parameter of the cookie macro to specify the Charset of the file, e.g. %COOKIE(C:\a\max.txt,Windows-1251) this means that the file C:\a\max.txt contains characters in Windows-1251 encoding. Alternatively, %COOKIE macro supports

Re: cookie macro

2004-03-31 Thread dAniel hAhler
Hello bats, on Wed, 31. Mar 2004 at 06:02:16 +1000 Robin Anson wrote: Change the Regex pattern as follows: %SETPATTREGEXP='(.*?)(?:\n)?(.*)'%- You might need (and I'm guessing 'cos I haven't tried it) %SETPATTREGEXP='^(.*?)(?:\n)?(.*)$'%- Both should work. See Carsten's answer to my

Re: cookie macro

2004-03-30 Thread Jonathan Angliss
On Tuesday, March 30, 2004, rich gregory wrote... DH %SETPATTREGEXP='(.*?\n)(.*)'%- DH %REGEXPBLINDMATCH(%COOKIE=c:\sigs.txt)%- DH %WRAPPED(%SUBPATT(1)) DH%SUBPATT(2)%- It works SOMETIMES! Occasionally I get no signature at all with this code. I think the

Re: cookie macro

2004-03-30 Thread dAniel hAhler
Hello bats, on Tue, 30. Mar 2004 at 01:30:45 -0500 rich gregory wrote: DH %SETPATTREGEXP='(.*?\n)(.*)'%- DH %REGEXPBLINDMATCH(%COOKIE=c:\sigs.txt)%- DH %WRAPPED(%SUBPATT(1)) DH%SUBPATT(2)%- It works SOMETIMES! Occasionally I get no signature at all with this

Re: cookie macro

2004-03-30 Thread Robin Anson
On Wed 31 March 2004, 1:47:20 +1000, Daniel Hahler wrote: Hello bats, on Tue, 30. Mar 2004 at 01:30:45 -0500 rich gregory wrote: DH %SETPATTREGEXP='(.*?\n)(.*)'%- DH %REGEXPBLINDMATCH(%COOKIE=c:\sigs.txt)%- DH %WRAPPED(%SUBPATT(1)) DH%SUBPATT(2)%- It

Re: cookie macro

2004-03-28 Thread Jonathan Angliss
On Sunday, March 28, 2004, rich gregory wrote... The line does not wrap and the /n switch is not generating a new line, but appears in the text. It's \n, and without your template, I cannot tell you why it's not going to wrap. %COOKIE doesn't wrap on it's own, you have to use

Re: cookie macro

2004-03-28 Thread Jonathan Angliss
On Sunday, March 28, 2004, rich gregory wrote... Can I get it to show this way: ~~~ I have always wanted to be somebody, but I see now I should have been more specific. - Lily Tomlin

Re: cookie macro

2004-03-28 Thread dAniel hAhler
Hello bats, on Sun, 28. Mar 2004 at 12:16:17 -0600 Jonathan Angliss wrote: Can I get it to show this way: ~~~ I have always wanted to be somebody, but I see now I should have been more specific. - Lily Tomlin

Re: cookie macro

2004-03-28 Thread dAniel hAhler
Hello bats, on Sun, 28. Mar 2004 at 19:05:28 -0500 rich gregory wrote: Can I get it to show this way: ~~~ I have always wanted to be somebody, but I see now I should have been more specific. - Lily Tomlin

Re: cookie macro

2004-03-24 Thread Allie Martin
Rich Gregory, [RG] wrote: RG If a file, a text file I'd assume RG (c:\progra~1\theba~1\cookies.txt?) Just to add to this point. I've noted that the file doesn't have to have a .txt extension. TB! will assume the file is a text file and read it as such. At least this is so the last time I

Re: cookie macro

2004-03-23 Thread Jonathan Angliss
On Tuesday, March 23, 2004, rich gregory wrote... From the Help file: COOKIE = filepath [..] Is filepath above supposed to define a directory or a file? If a file, a text file I'd assume (c:\progra~1\theba~1\cookies.txt?) it would contained lines of text to be used along the lines

Re: cookie macro

2004-03-23 Thread Jonathan Angliss
On Wednesday, March 24, 2004, rich gregory wrote... JA It can be a full path to a file (including the file), or just the JA file for a relative file path. Mine for example is set to: JA %COOKIE='c:\sigs.txt'%- OK, so it is a file. 1) Always a file? Yes 2) Is that file structured as

Re: cookie macro

2004-03-23 Thread Peter Meyns
Hi rich, on Wed, 24 Mar 2004 01:26:40 -0500GMT, you wrote: (COOKIE = filepath) rg 1) Always a file? Yes. rg 2) Is that file structured as THEBAT.TIP is so that each single line rg in the text document is referenced as a single item? That's right. rg 3) Are the cookies always accessed

Using the cookie macro in an address book template.

2002-04-11 Thread David Stone
Hello, In a 'new message' template in the AB I have included the following macros... %SUBJECT=%COOKIE='C:\Program Files\The Bat!\subject.txt' Reference Number %TRACKINGNUMBER [%SUBJ] ...%COOKIE Which correctly creates a new message with a subject header taken at random from the file

Re: Using the cookie macro in an address book template.

2002-04-11 Thread Luc
Good afternoon David, It was foretold that on 11-4-2002 @ 13:00:39 GMT+0100 (which was 14:00 where I live) David Stone wrote and spread these wise comments on Using the cookie macro in an address book template.: snipped a bit DS Am I asking too much from The Bat! or doing something wrong

Re: Using the cookie macro in an address book template.

2002-04-11 Thread David Stone
Hello, Thursday, April 11, 2002, 1:19:20 PM, you wrote: DS Am I asking too much from The Bat! or doing something wrong? It looks DS as if only one cookie file can be opened per message? L I'm out on limb here but have you tried to create another coockie L file e.g. cookies and place in in

Re: Using the cookie macro in an address book template.

2002-04-11 Thread Peter Palmreuther
Hello David, On Thursday, April 11, 2002 at 2:00:39 PM you wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] (at least in part): DS Am I asking too much from The Bat! or doing something wrong? It looks DS as if only one cookie file can be opened per message? That's correct, IIRC. TB! seems to

Re: Using the cookie macro in an address book template.

2002-04-11 Thread Luc
Good evening David, It was foretold that on 11-4-2002 @ 13:48:35 GMT+0100 (which was 14:48:35 where I live) David Stone wrote and spread these wise comments on Using the cookie macro in an address book template.: snipped a bit DS Thanks Luc, I tried that but it still used the first 'cookie