🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #134703

Re: [Dialog] 3rd button

#134703
From: Yeellow
Date: Wed, 01 Oct 2003 18:10
37 lines
3036 bytes
On Wed, 01 Oct 2003 12:13:04 -0400, Gary Pauling wrote:

> You seem pretty sharp with writing scripts. Can you answer me this
> question: I put in a script to single-click on posts and would like to
> know if I should keep the original script? The new script is listed
> under ARTICLEV and the original script is listed under StatusBar. Now,
> I call the old one original because I don't know what else to call it
>:-)
> 
> Should I keep both scripts?

as I understand you have script begining with "program
statusbar_WM_LBUTTONDBLCLK;".

This script comes with Dialog and what it does is: whenever you
double-click status bar (the one at the bottom) a status window will
pop-up. If you delete this script you will loose this functionality.

> I do see one feature missing that I had before but if I had both
> scripts would there be a conflict or problem?

if it is the case I described above the answer is NO. There will be no
confict. Let me explain you the idea of message scripts.
Control is basically speaking a part of a screen - can be a certain window,
button, bar, etc. Message is some action on the control - like clicking,
pressing enter, moving the cursor over, etc. So script is looking all the
time for a specified event - action on a choosen control - and when it
happens script starts. 
The script I sent before is very simple. It works like that: when you
release the third button when cursor is over tree=pane (the one on the
right) script downloads the next unreaded post and shows it.

I hope that helped.

Greetings
Marcin
Technical Details
Message-ID: <1n7zdvt4w4dd7$.fb6odbtam23i$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!opal.futuro.pl!newsfeed.gazeta.pl!news.astercity.net!not-for-mail
References: <16xbfxie46x0f$.nnidxyc227yp.dlg@40tude.net> <yfykodyhsolp.dlg@news.lillathedog.net> <ey43qtpfotb3$.1g2bz9bdxm51y$.dlg@40tude.net> <14rmx4iwozt6t.dlg@news.lillathedog.net> <1b1497j9trkak.1i9ir5x9xprem.dlg@40tude.net> <0sulnvgnd4teoskbd2mop4n2r3o7tfrgh6@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <1n7zdvt4w4dd7$.fb6odbtam23i$.dlg@40tude.net>
Subject: Re: [Dialog] 3rd button
Date: Wed, 1 Oct 2003 20:10:00 +0200
From: Yeellow <yeellow@yahoo.com>
References: <16xbfxie46x0f$.nnidxyc227yp.dlg@40tude.net> <yfykodyhsolp.dlg@news.lillathedog.net> <ey43qtpfotb3$.1g2bz9bdxm51y$.dlg@40tude.net> <14rmx4iwozt6t.dlg@news.lillathedog.net> <1b1497j9trkak.1i9ir5x9xprem.dlg@40tude.net> <0sulnvgnd4teoskbd2mop4n2r3o7tfrgh6@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!opal.futuro.pl!newsfeed.gazeta.pl!news.astercity.net!not-for-mail
Newsgroups: news.software.readers
Organization: Aster City Net
Lines: 36
NNTP-Posting-Host: 10.64.4.177
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: foka.acn.pl 1065031800 21337 10.64.4.177 (1 Oct 2003 18:10:00 GMT)
X-Complaints-To: abuse@astercity.net
NNTP-Posting-Date: Wed, 1 Oct 2003 18:10:00 +0000 (UTC)
X-Tech-Contact: usenet@astercity.net
X-Server-Info: http://www.astercity.net/news/
User-Agent: 40tude_Dialog/2.0.5.1