🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
44 messages
44 total messages Started by Marcus Mönnig Sat, 04 Sep 2004 11:39
40tude Dialog Beta 36 now available
#155138
Author: Marcus Mönnig
Date: Sat, 04 Sep 2004 11:39
51 lines
3314 bytes
40tude Dialog Beta 36 (2.0.13.1) is now available for download from:

http://www.40tude.com/dialog/

If you are updating from a previous version, simply close Dialog and install
this version over the old version. I strongly advise to make a backup copy
of your current Dialog directory first, since you will not be able to revert
to a previous version of Dialog after you started this version once.

When updating from version 35 or earlier there are the following issues:

 * Once you updated to and started this version of
   Dialog there is no way back. The database has a
   slightly different format and all files will be
   automatically converted to the new format when 
   accessed for the first time. A previous version
   of Dialog will no longer be able to access open
   these files. If you think you might want to go 
   back to a previous version, please backup your
   complete Dialog directory before installing this 
   version.

 * Attachments that were automatically saved to 
   disk might no longer be accessible from within
   Dialog. (This only refers to files with 
   non-ascii characters.)

 * You will need to recompile all your scripts.
 
 * There were some scripts in Wiki and in the 
   groups that used "NULL" incorrectly. While 
   previous versions of Dialog tolerated this, the
   new version does not. The scripts will compile, 
   but raise an error when executed. In the scripts 
   where NULL is used, it usually needs to be replaced
   with either 0 or an empty string ''. Please visit
   http://www.40tude.com/dialog/wiki/index.php?title=ScriptUpdateNotesToBeta36
   for further scripting update notes.



The full release history with the list of changes, fixes and additions can 
be found here: http://www.40tude.com/dialog/history.htm

I hope you like the new version,
Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 now available
#155140
Author: Henrik K Hansen
Date: Sat, 04 Sep 2004 13:56
8 lines
1371 bytes
Marcus Mönnig, wrote:

> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:

Thanks, I have donated again.

-- 
Henrik
Re: 40tude Dialog Beta 36 now available
#155142
Author: Ron S
Date: Sat, 04 Sep 2004 13:57
10 lines
1655 bytes
Marcus Mönnig blurted on Sat, 4 Sep 2004 13:39:48 +0200:

> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> http://www.40tude.com/dialog/

Thanks Marcus...

-- 
Have I Got A Sig or What
Re: 40tude Dialog Beta 36 now available
#155149
Author: Marcus Mönnig
Date: Sat, 04 Sep 2004 15:41
12 lines
1777 bytes
*Henrik K Hansen*, 4 Sep. 04, 15:56:

>> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> Thanks, I have donated again.

Thanks, I really appreciate it.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 now available
#155151
Author: Marianne Kristiansen
Date: Sat, 04 Sep 2004 16:22
16 lines
1708 bytes
On Sat, 04 Sep 2004 15:56:38 +0200, Henrik K Hansen wrote:

> Marcus Mönnig, wrote:
> 
>> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> Thanks, I have donated again.

And I did for the first time. I have used Dialog for some time now, and
have no plans to change to any other news reader!

Of course I only did it because I wanted a nice and shiny star ;-P

-- 
Marianne Kristiansen
http://home.no.net/mixelite
Re: 40tude Dialog Beta 36 now available
#155157
Author: Graham
Date: Sat, 04 Sep 2004 19:43
12 lines
1604 bytes
On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig,
<news:13jszx3om13qk.xfuvmn9gv3fd$.dlg@40tude.net> expounded this
theory:

> I hope you like the new version,
> Marcus

I do...can I have two stars now, or a very shiny one? ;-)

-- 
Graham
40tude Dialog
Re: 40tude Dialog Beta 36 now available
#155167
Author: Howard Harris
Date: Sat, 04 Sep 2004 19:55
13 lines
1220 bytes
On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig wrote:

> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> http://www.40tude.com/dialog/
> 

'Fixed wrong scroll direction with the "Scroll complete page" Windows mouse
wheel setting'   Thank you; that little thing has been driving me crazy :)


-- 
Howard 
Re: 40tude Dialog Beta 36 now available
#155161
Author: Marcus Mönnig
Date: Sat, 04 Sep 2004 21:02
13 lines
1788 bytes
*Marianne Kristiansen*, 4 Sep. 04, 18:22:

> Of course I only did it because I wanted a nice and shiny star ;-P

Then my plan worked! ;-)

Thanks again for your donation!

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 now available
#155162
Author: Kristi
Date: Sat, 04 Sep 2004 21:07
17 lines
1568 bytes
Marianne Kristiansen wrote:
> On Sat, 04 Sep 2004 15:56:38 +0200, Henrik K Hansen wrote:
> 
>> Marcus Mönnig, wrote:
>> 
>>> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
>> 
>> Thanks, I have donated again.
> 
> And I did for the first time. I have used Dialog for some time now, and
> have no plans to change to any other news reader!
> 
> Of course I only did it because I wanted a nice and shiny star ;-P

"plink"!!!!!!!!!!!!!!!!!!!!!!!!!!!!   (twinkle twinkle)
:o)
Kristi
Re: 40tude Dialog Beta 36 now available
#155163
Author: Marianne Kristiansen
Date: Sat, 04 Sep 2004 21:08
17 lines
1732 bytes
On Sat, 4 Sep 2004 23:02:47 +0200, Marcus Mönnig wrote:

> *Marianne Kristiansen*, 4 Sep. 04, 18:22:
> 
>> Of course I only did it because I wanted a nice and shiny star ;-P
> 
> Then my plan worked! ;-)

:-D
 
> Thanks again for your donation!

My pleasure. It is the best news reader I have ever used!

-- 
Marianne Kristiansen
http://home.no.net/mixelite
Re: 40tude Dialog Beta 36 now available
#155164
Author: Kristi
Date: Sat, 04 Sep 2004 21:21
56 lines
3197 bytes
Marcus Mönnig wrote:
> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> http://www.40tude.com/dialog/
> 
> If you are updating from a previous version, simply close Dialog and install
> this version over the old version. I strongly advise to make a backup copy
> of your current Dialog directory first, since you will not be able to revert
> to a previous version of Dialog after you started this version once.
> 
> When updating from version 35 or earlier there are the following issues:
> 
>  * Once you updated to and started this version of
>    Dialog there is no way back. The database has a
>    slightly different format and all files will be
>    automatically converted to the new format when 
>    accessed for the first time. A previous version
>    of Dialog will no longer be able to access open
>    these files. If you think you might want to go 
>    back to a previous version, please backup your
>    complete Dialog directory before installing this 
>    version.
> 
>  * Attachments that were automatically saved to 
>    disk might no longer be accessible from within
>    Dialog. (This only refers to files with 
>    non-ascii characters.)
> 
>  * You will need to recompile all your scripts.
>  
>  * There were some scripts in Wiki and in the 
>    groups that used "NULL" incorrectly. While 
>    previous versions of Dialog tolerated this, the
>    new version does not. The scripts will compile, 
>    but raise an error when executed. In the scripts 
>    where NULL is used, it usually needs to be replaced
>    with either 0 or an empty string ''. Please visit
>    http://www.40tude.com/dialog/wiki/index.php?title=ScriptUpdateNotesToBeta36
>    for further scripting update notes.
> 
> 
> 
> The full release history with the list of changes, fixes and additions can 
> be found here: http://www.40tude.com/dialog/history.htm
> 
> I hope you like the new version,
> Marcus

Uh, help.  I did make a copy of the dialog folder set and that is what I am
running on now.

When I started 36, it came up as though it was completely new I had nothing
- no servers, no database, no sig, no identities, nothing.  Where did I
screw up?
tia
Kristi
Re: 40tude Dialog Beta 36 now available
#155165
Author: Colin Jones
Date: Sat, 04 Sep 2004 21:29
14 lines
1927 bytes
Hiya Marianne Kristiansen.

In <news:8ynqt34z3899$.irwza66b8z8s.dlg@40tude.net> you wrote:

>> Thanks again for your donation!
> My pleasure. It is the best news reader I have ever used!

  I concur. I /will/ donate again when I'm able to do so :)

-- 
  __  PGP key ID - DSS:0x2661A952
 (__olin - Homepage: http://www.colin-jones.co.uk ICQ# 1707811
      Skittles Team: http://www.dd-skittles.co.uk
      Let http://spamcop.net do your digging.
Re: 40tude Dialog Beta 36 now available
#155166
Author: Kristi
Date: Sat, 04 Sep 2004 21:55
61 lines
3429 bytes
Kristi wrote:
> Marcus Mönnig wrote:
>> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
>> 
>> http://www.40tude.com/dialog/
>> 
>> If you are updating from a previous version, simply close Dialog and install
>> this version over the old version. I strongly advise to make a backup copy
>> of your current Dialog directory first, since you will not be able to revert
>> to a previous version of Dialog after you started this version once.
>> 
>> When updating from version 35 or earlier there are the following issues:
>> 
>>  * Once you updated to and started this version of
>>    Dialog there is no way back. The database has a
>>    slightly different format and all files will be
>>    automatically converted to the new format when 
>>    accessed for the first time. A previous version
>>    of Dialog will no longer be able to access open
>>    these files. If you think you might want to go 
>>    back to a previous version, please backup your
>>    complete Dialog directory before installing this 
>>    version.
>> 
>>  * Attachments that were automatically saved to 
>>    disk might no longer be accessible from within
>>    Dialog. (This only refers to files with 
>>    non-ascii characters.)
>> 
>>  * You will need to recompile all your scripts.
>>  
>>  * There were some scripts in Wiki and in the 
>>    groups that used "NULL" incorrectly. While 
>>    previous versions of Dialog tolerated this, the
>>    new version does not. The scripts will compile, 
>>    but raise an error when executed. In the scripts 
>>    where NULL is used, it usually needs to be replaced
>>    with either 0 or an empty string ''. Please visit
>>    http://www.40tude.com/dialog/wiki/index.php?title=ScriptUpdateNotesToBeta36
>>    for further scripting update notes.
>> 
>> 
>> 
>> The full release history with the list of changes, fixes and additions can 
>> be found here: http://www.40tude.com/dialog/history.htm
>> 
>> I hope you like the new version,
>> Marcus
> 
> Uh, help.  I did make a copy of the dialog folder set and that is what I am
> running on now.
> 
> When I started 36, it came up as though it was completely new I had nothing
> - no servers, no database, no sig, no identities, nothing.  Where did I
> screw up?
> tia
> Kristi

forget that note - my error - I installed to the wrong (a blank) directory
- sorry - works fine - thanks!
Kristi
Re: 40tude Dialog Beta 36 now available
#155168
Author: Aries
Date: Sat, 04 Sep 2004 21:58
9 lines
1513 bytes
On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig surfed in from cyberspace:

> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> http://www.40tude.com/dialog/

Many thanks for all your hard work and effort - much appreciated :)
-- 
http://www.copelands.plus.com/val/
Re: 40tude Dialog Beta 36 now available
#155170
Author: Jarrod Cifer
Date: Sun, 05 Sep 2004 05:24
12 lines
1995 bytes
Kristi, upon reaching nirvana, postulated:

> forget that note - my error - I installed to the wrong (a blank) directory
> - sorry - works fine - thanks!

That happens a lot. I think I'll add it to the FAQ.

-- 
J. Cifer
40tude Dialog FAQ: http://snurl.com/4um8
40tude Dialog script library: http://snurl.com/4umc
40tude Dialog links: http://snurl.com/4umg
Re: 40tude Dialog Beta 36 now available
#155172
Author: Wrinklie One
Date: Sun, 05 Sep 2004 07:04
15 lines
1555 bytes
On Sat, 4 Sep 2004 22:58:18 +0100, Aries sauntered in and penned :

> On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig surfed in from cyberspace:
> 
>> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
>> 
>> http://www.40tude.com/dialog/
> 
> Many thanks for all your hard work and effort - much appreciated :)

Little Sir Echo :-)
-- 
Absence makes the heart grow fonder.
Out of sight, out of mind.
Wrinklie
Re: 40tude Dialog Beta 36 now available
#155173
Author: Kristi
Date: Sun, 05 Sep 2004 07:59
12 lines
1454 bytes
Jarrod Cifer wrote:
> Kristi, upon reaching nirvana, postulated:
> 
>> forget that note - my error - I installed to the wrong (a blank) directory
>> - sorry - works fine - thanks!
> 
> That happens a lot. I think I'll add it to the FAQ.

yeah - really dumb mistake - and I wouldn't have looked in the FAQ for it -
that's why I was glad to post my mistake here so others might catch it.

Kristi
Re: 40tude Dialog Beta 36 now available
#155174
Author: Marcus Mönnig
Date: Sun, 05 Sep 2004 08:27
15 lines
1922 bytes
*Jarrod Cifer*, 5 Sep. 04, 07:24:

>> forget that note - my error - I installed to the wrong (a blank) directory
>> - sorry - works fine - thanks!
> 
> That happens a lot. 

I wonder why, since the installer should remember the last used installation
directory.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 now available
#155175
Author: Howard Harris
Date: Sun, 05 Sep 2004 09:42
18 lines
1452 bytes
On Sun, 5 Sep 2004 10:27:16 +0200, Marcus Mönnig wrote:

> *Jarrod Cifer*, 5 Sep. 04, 07:24:
> 
>>> forget that note - my error - I installed to the wrong (a blank) directory
>>> - sorry - works fine - thanks!
>> 
>> That happens a lot. 
> 
> I wonder why, since the installer should remember the last used installation
> directory.
> 

It certainly does here. Works a treat, like the programme :)


-- 
Howard 
Re: 40tude Dialog Beta 36 now available
#155178
Author: Colin Jones
Date: Sun, 05 Sep 2004 10:19
18 lines
2167 bytes
Hiya Howard Harris.

In <news:h6wbqczcc2y7.htfq4o7z5env.dlg@40tude.net> you wrote:

>>> That happens a lot. 
>> I wonder why, since the installer should remember the last used installation
>> directory.
> It certainly does here. Works a treat, like the programme :)

  Same here. Since discovering Dialog on the second public beta release,
Agent has been consigned to reserve status, and I'd been using that since
1996!

-- 
  __  PGP key ID - DSS:0x2661A952
 (__olin - Homepage: http://www.colin-jones.co.uk ICQ# 1707811
      Skittles Team: http://www.dd-skittles.co.uk
      Let http://spamcop.net do your digging.
Re: 40tude Dialog Beta 36 now available
#155181
Author: /betty/
Date: Sun, 05 Sep 2004 10:50
43 lines
2884 bytes
On Sun, 5 Sep 2004 10:27:16 +0200, Marcus Mönnig used 15 lines to
allege:

> *Jarrod Cifer*, 5 Sep. 04, 07:24:
> 
>>> forget that note - my error - I installed to the wrong (a blank) directory
>>> - sorry - works fine - thanks!
>> 
>> That happens a lot. 
> 
> I wonder why, since the installer should remember the last used installation
> directory.
> 

It picks it up but the user can over-ride the suggested destination,
even if a current installation exists.

That in itself is not a problem (in fact it's Good Thing, eg. allows
creation of multiple instances); a contention of interest arises further
on when you do install a second instance to a separate drive:\folder,
then on first startup it asks if you want to import servers~settings...
and _Dialog doesn't see Dialog_! 

It sees my instances of Forte Agent OK and asks do I want to "Import"
from them, would it not be courteous to ack, and prompt to import, its
own? :)


Oh yeah Marcus, how do I turn OFF the default native rendering of HTML
and GFX etc?

And how do I turn of native rendering of RAW text for *all* attachment
file-types?

RAW mode is there for displaying that, surely it shouldn't attempt to
default display a mess of hi-ascii AND then proceed to attrib-colour it! 

I think we should have a serious talk about making this baby into a
*real* newsreader. Is it not time for fun and games of adding gimmicks
and putting out spot fires to end? :-)

-- 
/betty/ [2004-09-05 20:32:13]
Re: 40tude Dialog Beta 36 now available
#155183
Author: Marianne Kristiansen
Date: Sun, 05 Sep 2004 11:34
13 lines
1724 bytes
On Sat, 4 Sep 2004 17:07:04 -0400, Kristi wrote:

>> Of course I only did it because I wanted a nice and shiny star ;-P
> 
> "plink"!!!!!!!!!!!!!!!!!!!!!!!!!!!!   (twinkle twinkle)
> :o)

Tanks :-o) It seems to be the only one I'm getting. I'm beginning to think
I didn't get the payment right. 

-- 
Marianne Kristiansen
http://home.no.net/mixelite
Re: 40tude Dialog Beta 36 now available
#155204
Author: KenW
Date: Sun, 05 Sep 2004 13:04
52 lines
2969 bytes
On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig wrote:

> 40tude Dialog Beta 36 (2.0.13.1) is now available for download from:
> 
> http://www.40tude.com/dialog/
> 
> If you are updating from a previous version, simply close Dialog and install
> this version over the old version. I strongly advise to make a backup copy
> of your current Dialog directory first, since you will not be able to revert
> to a previous version of Dialog after you started this version once.
> 
> When updating from version 35 or earlier there are the following issues:
> 
>  * Once you updated to and started this version of
>    Dialog there is no way back. The database has a
>    slightly different format and all files will be
>    automatically converted to the new format when 
>    accessed for the first time. A previous version
>    of Dialog will no longer be able to access open
>    these files. If you think you might want to go 
>    back to a previous version, please backup your
>    complete Dialog directory before installing this 
>    version.
> 
>  * Attachments that were automatically saved to 
>    disk might no longer be accessible from within
>    Dialog. (This only refers to files with 
>    non-ascii characters.)
> 
>  * You will need to recompile all your scripts.
>  
>  * There were some scripts in Wiki and in the 
>    groups that used "NULL" incorrectly. While 
>    previous versions of Dialog tolerated this, the
>    new version does not. The scripts will compile, 
>    but raise an error when executed. In the scripts 
>    where NULL is used, it usually needs to be replaced
>    with either 0 or an empty string ''. Please visit
>    http://www.40tude.com/dialog/wiki/index.php?title=ScriptUpdateNotesToBeta36
>    for further scripting update notes.
> 
> 
> 
> The full release history with the list of changes, fixes and additions can 
> be found here: http://www.40tude.com/dialog/history.htm
> 
> I hope you like the new version,
> Marcus

GREAT PROGRAM
-- 
KenW
Re: 40tude Dialog Beta 36 - script problem
#155227
Author: Jo'Asia
Date: Sun, 05 Sep 2004 19:16
132 lines
5164 bytes
Marcus Mönnig wrote:

>  * You will need to recompile all your scripts.
>  
>  * There were some scripts in Wiki and in the 
>    groups that used "NULL" incorrectly. While 
>    previous versions of Dialog tolerated this, the
>    new version does not. The scripts will compile, 
>    but raise an error when executed. In the scripts 
>    where NULL is used, it usually needs to be replaced
>    with either 0 or an empty string ''. Please visit
>    http://www.40tude.com/dialog/wiki/index.php?title=ScriptUpdateNotesToBeta36
>    for further scripting update notes.

Something is wrong with my script under Beta36 - doesn't seem to work.

It compiles with no errors, gives no error messages but does nothing at
all... It's supposed to:

a) load a signature from file chosen by a signal string placed there (it's
   to prevent Dialog from wrapping the signature lines)
b) add a counter to message headers.


Here it goes:


program OnBeforeSendingMessage;

function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
var i:integer;
    s, xcounter, file1, file2: string;
    sl:TStringlist;
begin
    result:=true;
    if (message.count<3000) then begin
        s:=message.text;
        i:=pos('signature-1',s);
        if i>0 then begin
            delete(s,i,length('signature-1'));        
            sl:=Tstringlist.create;
            try
                sl.loadfromfile('file1.txt');
                insert(sl.text,s,i);
            finally
                sl.free;        
            end;
        end
        else begin
            i:=pos('signature-2',s);
            if i>0 then begin
                delete(s,i,length('signature-2'));        
                sl:=Tstringlist.create;
                try
                    sl.loadfromfile('file2.txt');
                    insert(sl.text,s,i);
                finally
                    sl.free;        
                end;
            end
            else begin
                i:=pos('signature-3',s);
                if i>0 then begin
                    delete(s,i,length('signature-3'));        
                    sl:=Tstringlist.create;
                    try
                        sl.loadfromfile('file3.txt');
                        insert(sl.text,s,i);
                    finally
                        sl.free;        
                    end;
                end;
            end;            
        end;
        message.text:=s;        
    end;

  file1:='patch';
  file2:='global-counter.txt';

  xcounter:='X-Count: ';

  //do not count emails
  if IsEmail then exit;
  //what group?      
  for i:=0 to Message.count-1 do
    if pos('Newsgroups: ',Message.strings[i]) > 0 then
      break;
  if i=Message.count-1 then exit;
  file1:=file1 + Copy(Message.strings[i],length('Newsgroups:')+1,length(Message.strings[i])) + '.txt';
  sl := TStringList.Create;
  try
    if FileExists(file1) then
      sl.LoadFromFile(file1)
    else
      sl.text:='0';

    sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
    xcounter:=xcounter + sl.strings[0];

    sl.SaveToFile(file1);

    if FileExists(file2) then
      sl.LoadFromFile(file2)
    else
      sl.text:='0';

    sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
    xcounter:=xcounter + '/' + sl.strings[0];

    sl.SaveToFile(file2);

    for i:=0 to Message.count-1 do
      if Message.strings[i] = '' then
        begin
          Message.Insert(i,xlicznik);
	  break;
        end;
  finally
    sl.free;        
  end;

end;

begin
end.


Jo'Asia

-- 
signature out of order :(
Re: 40tude Dialog Beta 36 - script problem
#155228
Author: Marcus Mönnig
Date: Sun, 05 Sep 2004 19:25
124 lines
4706 bytes
*Jo'Asia*, 5 Sep. 04, 21:16:


I didn't actually test it, but see my comments below for what jumped into my
eyes.

> program OnBeforeSendingMessage;
> 
> function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
> var i:integer;
>     s, xcounter, file1, file2: string;
>     sl:TStringlist;
> begin
>     result:=true;
>     if (message.count<3000) then begin
>         s:=message.text;
>         i:=pos('signature-1',s);
>         if i>0 then begin
>             delete(s,i,length('signature-1'));        
>             sl:=Tstringlist.create;
>             try
>                 sl.loadfromfile('file1.txt');

You should include the complete path for the file above.

>                 insert(sl.text,s,i);
>             finally
>                 sl.free;        
>             end;
>         end
>         else begin
>             i:=pos('signature-2',s);
>             if i>0 then begin
>                 delete(s,i,length('signature-2'));        
>                 sl:=Tstringlist.create;
>                 try
>                     sl.loadfromfile('file2.txt');

Same here.

>                     insert(sl.text,s,i);
>                 finally
>                     sl.free;        
>                 end;
>             end
>             else begin
>                 i:=pos('signature-3',s);
>                 if i>0 then begin
>                     delete(s,i,length('signature-3'));        
>                     sl:=Tstringlist.create;
>                     try
>                         sl.loadfromfile('file3.txt');

An here.

>                         insert(sl.text,s,i);
>                     finally
>                         sl.free;        
>                     end;
>                 end;
>             end;            
>         end;
>         message.text:=s;        
>     end;
> 
>   file1:='patch';
>   file2:='global-counter.txt';

And twice here.

>
>   xcounter:='X-Count: ';
> 
>   //do not count emails
>   if IsEmail then exit;
>   //what group?      
>   for i:=0 to Message.count-1 do
>     if pos('Newsgroups: ',Message.strings[i]) > 0 then
>       break;
>   if i=Message.count-1 then exit;
>   file1:=file1 + Copy(Message.strings[i],length('Newsgroups:')+1,length(Message.strings[i])) + '.txt';
>   sl := TStringList.Create;
>   try
>     if FileExists(file1) then
>       sl.LoadFromFile(file1)
>     else
>       sl.text:='0';
> 
>     sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
>     xcounter:=xcounter + sl.strings[0];
> 
>     sl.SaveToFile(file1);
> 
>     if FileExists(file2) then
>       sl.LoadFromFile(file2)
>     else
>       sl.text:='0';
> 
>     sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
>     xcounter:=xcounter + '/' + sl.strings[0];
> 
>     sl.SaveToFile(file2);
> 
>     for i:=0 to Message.count-1 do
>       if Message.strings[i] = '' then
>         begin
>           Message.Insert(i,xlicznik);
> 	  break;
>         end;
>   finally
>     sl.free;        
>   end;
> 
> end;
> 
> begin
> end.


Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 - script problem
#155229
Author: Jo'Asia
Date: Sun, 05 Sep 2004 19:39
13 lines
1729 bytes
Marcus Mönnig wrote:

> You should include the complete path for the file above.

It's there, I just removed it for the online version.

The format is: "c:\dir1\subdir2\file.txt"

Jo'Asia


-- 
english-signature
Re: 40tude Dialog Beta 36 now available
#155230
Author: Kristi
Date: Sun, 05 Sep 2004 20:22
33 lines
2070 bytes
Marcus Mönnig wrote:
> *Jarrod Cifer*, 5 Sep. 04, 07:24:
> 
>>> forget that note - my error - I installed to the wrong (a blank) directory
>>> - sorry - works fine - thanks!
>> 
>> That happens a lot. 
> 
> I wonder why, since the installer should remember the last used installation
> directory.
> 
> Marcus

One reason is that I mindlessly go slapping the enter key through an
install. Truly.

Then I pointed it to a directory "40tude Dialog 36" and it put everything
in a subdirectory "40tude Dialog"

Now I'm starting to open my eyes a tad while going through the install
process and rename "40tude Dialog 36" to 40tude Dialog" - still created a
sub directory.

It finally dawned on me (DUH!!!) to correct the target directory to simply
"G:/40tude Dialog" (that's where I put it)  and of course everything went
well.

mindless user mistakes - not your fault!

Kristi

-- 
Shuttle AN35N Ultra, XP2600Bart, 512mb, GeF4Ti4200, WinXP Pro SP2
Re: 40tude Dialog Beta 36 now available
#155231
Author: Kristi
Date: Sun, 05 Sep 2004 20:25
9 lines
1503 bytes
/betty/ wrote:
> I think we should have a serious talk about making this baby into a
> *real* newsreader. Is it not time for fun and games of adding gimmicks
> and putting out spot fires to end? :-)

I hope you have your tongue firmly planted in your cheek, there - I LIKE
it!!!!!!!     :o)))))))  This is my number one since I found it!
YAYYYYYY!!!!!!!
Kristi
Re: 40tude Dialog Beta 36 now available
#155232
Author: Antonio 'Gandalf' Favata
Date: Sun, 05 Sep 2004 20:45
11 lines
1797 bytes
Je la 2004-09-05, Marianne Kristiansen skribis:

> Tanks :-o) It seems to be the only one I'm getting. I'm beginning to
> think I didn't get the payment right.

Did you insert your key in Help > Guilt relief? :)
-- 
Fare Well! |   Dialog: http://snurl.com/dialog ~ http://snurl.com/dlgfaq
G          |  news:it.comp.software.newsreader ~ http://snurl.com/ithnet
      ICQ# | gerarchia it-alt.*: http://www.fiag.it ~ news:it-alt.config
  16553733 |         http://www.x-privat.org ~ http://www.mynewsgate.net
Re: 40tude Dialog Beta 36 now available
#155235
Author: Marianne Kristiansen
Date: Sun, 05 Sep 2004 20:56
15 lines
1895 bytes
On Sun, 5 Sep 2004 22:45:35 +0200, Antonio 'Gandalf' Favata wrote:

> Je la 2004-09-05, Marianne Kristiansen skribis:
> 
>> Tanks :-o) It seems to be the only one I'm getting. I'm beginning to
>> think I didn't get the payment right.
> 
> Did you insert your key in Help > Guilt relief? :)

I didn't get a key yet. Sorry to make a fuzz. It's only me being nervous
about payment over the net. I'll stop whining ;-)

-- 
Marianne Kristiansen
http://home.no.net/mixelite
Re: 40tude Dialog Beta 36 now available
#155234
Author: Marcus Mönnig
Date: Sun, 05 Sep 2004 21:56
14 lines
2022 bytes
*Marianne Kristiansen*, 5 Sep. 04, 22:56:

> I didn't get a key yet. 

Actually, that was send out just after you payed. Probably faster then you
could switch from the browser to your email client. ;-)

I'll send it again. 

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 now available
#155248
Author: Marianne Kristiansen
Date: Mon, 06 Sep 2004 06:04
19 lines
2088 bytes
On Sun, 5 Sep 2004 23:56:57 +0200, Marcus Mönnig wrote:

> *Marianne Kristiansen*, 5 Sep. 04, 22:56:
> 
>> I didn't get a key yet. 
> 
> Actually, that was send out just after you payed. Probably faster then you
> could switch from the browser to your email client. ;-)

Haha :-) Well, I didn't get any, so maybe it got stuck somewhere and will
arrive later :-)
 
> I'll send it again. 

That one I got. Thanks alot :-)

-- 
Marianne Kristiansen
http://home.no.net/mixelite
Re: 40tude Dialog Beta 36 - script problem
#155262
Author: Marcus Mönnig
Date: Tue, 07 Sep 2004 09:30
22 lines
2162 bytes
*Jo'Asia*, 5 Sep. 04, 21:39:

>> You should include the complete path for the file above.
> 
> It's there, I just removed it for the online version.

The script you posted doesn't compile. After I added a path to all filenames
and added 

const xlicznik='X-Test: set';

the script compiled and when I sent a message this header is now inserted
into the outgoing message and the files were created. 

The script seems to work just fine. Check your filenames and that the
scripting engine is actually turned on in the main window.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 - script problem
#155264
Author: Jo'Asia
Date: Tue, 07 Sep 2004 09:53
38 lines
2489 bytes
Marcus Mönnig wrote:

> *Jo'Asia*, 5 Sep. 04, 21:39:

>>> You should include the complete path for the file above.

>> It's there, I just removed it for the online version.

> The script you posted doesn't compile. After I added a path to all filenames
> and added 

So why do I got the "Succesfully compiled" message in the "Debug output"
window? 8)

> const xlicznik='X-Test: set';

Um, sorry. Missed that. Should be 

        begin
          Message.Insert(i,xcounter);
	  break;
        end;

I have translated the variables to english to let you know what do they
do...

> the script compiled and when I sent a message this header is now inserted
> into the outgoing message and the files were created. 

> The script seems to work just fine. Check your filenames and that the
> scripting engine is actually turned on in the main window.

It is, other scripts works.

Jo'Asia

-- 
english-signature
Re: 40tude Dialog Beta 36 - script problem
#155265
Author: Jo'Asia
Date: Tue, 07 Sep 2004 10:05
29 lines
2222 bytes
Marcus Mönnig wrote:

> The script seems to work just fine. Check your filenames and that the
> scripting engine is actually turned on in the main window.

I do not know what is going on. I have shut down Dialog completly, deleted
the script files for "OnBeforeSendingMessage" and created a new, very
simple script:

program OnBeforeSendingMessage;

function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
begin

Writeln ('Here I Go!');
result:=true;

end;

begin
end.

Could someone tell me where should I see the "Here I Go!" message? I can't
see it anywhere...

Jo'Asia

-- 
english-signature
Re: 40tude Dialog Beta 36 - script problem
#155267
Author: Marcus Mönnig
Date: Tue, 07 Sep 2004 10:12
109 lines
4522 bytes
*Jo'Asia*, 7 Sep. 04, 11:53:

>> The script seems to work just fine. Check your filenames and that the
>> scripting engine is actually turned on in the main window.

Look at my headers.

I'm using the script below. Maybe you want to test it without any
modifications.

program OnBeforeSendingMessage;

function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
var i:integer;
    s, xcounter, file1, file2: string;
    sl:TStringlist;
begin
    result:=true;
    if (message.count<3000) then begin
        s:=message.text;
        i:=pos('signature-1',s);
        if i>0 then begin
            delete(s,i,length('signature-1'));        
            sl:=Tstringlist.create;
            try
                sl.loadfromfile('C:\file1.txt');
                insert(sl.text,s,i);
            finally
                sl.free;        
            end;
        end
        else begin
            i:=pos('signature-2',s);
            if i>0 then begin
                delete(s,i,length('signature-2'));        
                sl:=Tstringlist.create;
                try
                    sl.loadfromfile('C:\file2.txt');
                    insert(sl.text,s,i);
                finally
                    sl.free;        
                end;
            end
            else begin
                i:=pos('signature-3',s);
                if i>0 then begin
                    delete(s,i,length('signature-3'));        
                    sl:=Tstringlist.create;
                    try
                        sl.loadfromfile('C:\file3.txt');
                        insert(sl.text,s,i);
                    finally
                        sl.free;        
                    end;
                end;
            end;            
        end;
        message.text:=s;        
    end;

  file1:='C:\patch';
  file2:='C:\global-counter.txt';

  xcounter:='X-Count: ';

  //do not count emails
  if IsEmail then exit;
  //what group?      
  for i:=0 to Message.count-1 do
    if pos('Newsgroups: ',Message.strings[i]) > 0 then
      break;
  if i=Message.count-1 then exit;
  file1:=file1 + Copy(Message.strings[i],length('Newsgroups:')+1,length(Message.strings[i])) + '.txt';
  sl := TStringList.Create;
  try
    if FileExists(file1) then
      sl.LoadFromFile(file1)
    else
      sl.text:='0';

    sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
    xcounter:=xcounter + sl.strings[0];

    sl.SaveToFile(file1);

    if FileExists(file2) then
      sl.LoadFromFile(file2)
    else
      sl.text:='0';

    sl.strings[0] := IntToStr (StrToInt(sl.strings[0]) + 1);
    xcounter:=xcounter + '/' + sl.strings[0];

    sl.SaveToFile(file2);

    for i:=0 to Message.count-1 do
      if Message.strings[i] = '' then
        begin
          Message.Insert(i,xcounter);
	  break;
        end;
  finally
    sl.free;        
  end;

end;

begin
end.
Re: 40tude Dialog Beta 36 - script problem
#155268
Author: Marcus Mönnig
Date: Tue, 07 Sep 2004 10:14
25 lines
2134 bytes
*Jo'Asia*, 7 Sep. 04, 12:05:

> Could someone tell me where should I see the "Here I Go!" message? I can't
> see it anywhere...

Only use Writeln() when you run scripts from within the scripting window.

Try this:

program OnBeforeSendingMessage;
function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
begin
writetolog('test',7);
result:=true;
end;
begin
end.



Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 - script problem
#155269
Author: Jo'Asia
Date: Tue, 07 Sep 2004 10:21
32 lines
2646 bytes
Marcus Mönnig wrote:

> *Jo'Asia*, 7 Sep. 04, 11:53:
> 
>>> The script seems to work just fine. Check your filenames and that the
>>> scripting engine is actually turned on in the main window.
> 
> Look at my headers.

[Takes a look]

All X-headers I can see in the message I'm replying to are:

X-Hamster-Info: Score=0 ScoreLoad=0 ScoreSave=0 Received=20040907121412
X-Trace: news.t-online.com 1094551977 02 23756 Y5bdXGOLog0mek0 040907 10:12:57
X-Complaints-To: usenet-abuse@t-online.de
X-ID: ZY6YNqZ68enJKQ7m-AEuD-nbtUjANzcT5QUpe1XU1WrnWeIZ42518-
User-Agent: 40tude_Dialog/2.0.13.2de (91c5d813.268.159)
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V
X-Old-Xref: agh.edu.pl news.software.readers:177362

> I'm using the script below. Maybe you want to test it without any
> modifications.

[cut the script]

So where is the X-Count header? 8)

Jo'Asia

-- 
english-signature
Re: 40tude Dialog Beta 36 - script problem
#155270
Author: Jo'Asia
Date: Tue, 07 Sep 2004 10:27
31 lines
2453 bytes
Marcus Mönnig wrote:

> *Jo'Asia*, 7 Sep. 04, 12:05:
> 
>> Could someone tell me where should I see the "Here I Go!" message? I can't
>> see it anywhere...
> 
> Only use Writeln() when you run scripts from within the scripting window.
> 
> Try this:
> 
> program OnBeforeSendingMessage;
> function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
> begin
> writetolog('test',7);
> result:=true;
> end;
> begin
> end.

Thios one seems to be working. I'll try to reconstruct the script bit by
bit and see if/when it fails to execute...

I just wanted to add that there is at least one more person with the same
problem as mine - had old scripts, updated Dialog, recompiled scripts,
scripts do not work...

Jo'Asia

-- 
english-signature
Re: 40tude Dialog Beta 36 - script problem
#155276
Author: Larry
Date: Tue, 07 Sep 2004 13:18
61 lines
3223 bytes
On Tue, 7 Sep 2004 12:27:59 +0200, Jo'Asia wrote:

> Marcus Mönnig wrote:
> 
>> *Jo'Asia*, 7 Sep. 04, 12:05:
>> 
>>> Could someone tell me where should I see the "Here I Go!" message? I can't
>>> see it anywhere...
>> 
>> Only use Writeln() when you run scripts from within the scripting window.
>> 
>> Try this:
>> 
>> program OnBeforeSendingMessage;
>> function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
>> begin
>> writetolog('test',7);
>> result:=true;
>> end;
>> begin
>> end.
> 
> Thios one seems to be working. I'll try to reconstruct the script bit by
> bit and see if/when it fails to execute...
> 
> I just wanted to add that there is at least one more person with the same
> problem as mine - had old scripts, updated Dialog, recompiled scripts,
> scripts do not work...
> 
> Jo'Asia

I think that would be two people.  This script:

Program FormTest;
var aform:TForm;
    aEdit:TEdit;
    i:integer;
Begin
aform:=TForm.create(nil);
aedit:=Tedit.create(aform);
try
aedit.parent:=aform;
aedit.left:=(aform.width-aedit.width) div 2;
aedit.top:=(aform.height-aedit.height) div 2;
if achecked('ShowHeadersAction') then aedit.text:='Header are on!'
                                 else aedit.text:='Header are off!';
aform.showmodal;
finally
aedit.free;
aform.free;
end;
End.
-- 

So far as I know, it worked before the RCs, but it doesn't compile now.
Complains about TForm.  I think TForm is supposed to be a Delphi class, but
I'm not sure.  

Larry
email is rapp at lmr dot com
09/07/04 9:14:53 AM
Re: 40tude Dialog Beta 36 - script problem
#155278
Author: MLC
Date: Tue, 07 Sep 2004 13:58
13 lines
1734 bytes
_Larry_, martedì 07/set/2004:

> I think that would be two people.  This script:

[...]

Larry, when you use TForm and TEdit you have to put the clause

uses Forms, stdctrls;

in your script.
-- 
Maria Luisa C - 07/09/2004 15.55.06
Re: 40tude Dialog Beta 36 - script problem
#155280
Author: Marcus Mönnig
Date: Tue, 07 Sep 2004 15:02
13 lines
2084 bytes
*Jo'Asia*, 7 Sep. 04, 12:27:

> I just wanted to add that there is at least one more person with the same
> problem as mine - had old scripts, updated Dialog, recompiled scripts,
> scripts do not work...

Then I would need to see the script in question. 

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: 40tude Dialog Beta 36 - script problem
#155342
Author: Larry
Date: Thu, 09 Sep 2004 16:35
22 lines
2159 bytes
On Tue, 7 Sep 2004 15:58:08 +0200, MLC wrote:

> _Larry_, martedì 07/set/2004:
> 
>> I think that would be two people.  This script:
> 
> [...]
> 
> Larry, when you use TForm and TEdit you have to put the clause
> 
> uses Forms, stdctrls;
> 
> in your script.

Thanks, Maria,

	That fixed it.  I also noted that var i wasn't used so I eliminated it.
-- 

Larry
email is rapp at lmr dot com
09/09/04 12:35:23 PM
Re: 40tude Dialog Beta 36 now available
#155671
Author: mardi
Date: Wed, 15 Sep 2004 00:38
9 lines
1578 bytes
On Sat, 4 Sep 2004 13:39:48 +0200, Marcus Mönnig wrote:

[...]
> I hope you like the new version,

Thanks Marcus. I've been using dialog for awhile and it's the best. I don't
have the money to donate but when I do I will.

Thanks again.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads