🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #129423

Re: [Dialog] navigation queries

#129423
From: Alain GUERIN
Date: Fri, 25 Jul 2003 07:49
55 lines
3208 bytes
Hello,

On Fri, 25 Jul 2003 01:57:42 +0100, Psych wrote:

>> Perhaps a script like this
>> 
>> ADo('Mark');
>> ADo('NextMessage');
>> 
>> compile and save and give the shortcut 'M', or what ever you prefer, to this
>> script.
> 
> ok, i went to custom scripts and et it up. how do i set a shortcut key to
> it?

Here is a short extract from the help file:

Is not it more polite than RTFM ? :-)

" Custom scripts  
 
 These are scripts that you can run by clicking on a button in Dialog's main
window or by using a keyboard shortcut.  
 
[...]

 To add a button for your script to the main window's button toolbar, click
on the Show button config button and select the script you are currently
adding from the Scripts category. Here you can set a keyboard shortcut to
your script and drag and drop a button for your script onto a button
toolbar.  "

>> 
>> Enter Ado('MarkRead') as code, compile and save.
> 
> well that works1 might be pushing my luck, but is it possible to set this
> as a toggle, so that double clicking a now read article sets it to unread
> and vice-versa?
> 

It is let as an exercise to the teacher as I know no way to detect by script
if a message is markread or not. AChecked('MarkRead') is not the solution,
at least  on my computer. 
If there are clever or better informed people, the question is open ;-)

You cannot build a symmetric script for the message WM_RBUTTONDBLCLK, as the
single click is always triggered before. I don't have a three button mouse
to test WM_MBUTTONDBLCLK, but you can try the keyboard (X and C) to mark
read and unread the messages. 

As one keyboard action asks less power than two mouse clicks, you will be
winning :-)

-- 
A.G.
Technical Details
Message-ID: <3f20e11b$1$15345$626a54ce@news.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!opentransit.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail
References: <1ogw7gm01mup9.ek5rwb4n67nd$.dlg@40tude.net> <3f1f057e$0$16707$626a54ce@news.free.fr> <6gl9p8z770r8$.1g0qhtfwvjabj$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <3f20e11b$1$15345$626a54ce@news.free.fr>
Subject: Re: [Dialog] navigation queries
Date: Fri, 25 Jul 2003 09:49:31 +0200
From: Alain GUERIN <news40@spamout-alain-guerin.com.invalid>
References: <1ogw7gm01mup9.ek5rwb4n67nd$.dlg@40tude.net> <3f1f057e$0$16707$626a54ce@news.free.fr> <6gl9p8z770r8$.1g0qhtfwvjabj$.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.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!opentransit.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: news40@alain-guerin.com
Organization: NA
Archive: no
X-Face: '*&f@caq/y%f)QY'BcSO`EQH}'>nCphQ%q>YfG1"zCmQAa]-,
 ^B1-<u0)r)}QS_wzU)5`a`
 %|NRB0OU/Q><ozTuEx.M+[fx'?9U\Ojwtt>FBPmKGeE=.(/%Gv4+w/T9UqY}e]~jQzpXe&"V84G%al
 +i$O, EHjhE.c[7qzp+C4VL<
X-No-Archive: yes
User-Agent: 40tude_Dialog/2.0.5.1 (de6edd6c.122.385)
Lines: 55
NNTP-Posting-Date: 25 Jul 2003 09:49:48 MEST
NNTP-Posting-Host: 62.147.176.191
X-Trace: 1059119388 news2-1.free.fr 15345 62.147.176.191:1201
X-Complaints-To: abuse@proxad.net