🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #113309

Re: [Dialog] Let's talk about Scripts :)

#113309
From: Tarkus
Date: Sat, 02 Nov 2002 18:50
42 lines
3181 bytes
On Sat, 2 Nov 2002 13:23:00 -0500, Barbara wrote:

> On Sat, 02 Nov 2002 01:09:24 GMT, Tarkus wrote:
> 
> > I also have a script that automatically gets/views the next unread 
> > message when I ignore the current message/thread.  This works both from 
> > the message list and the message view.  This replaces the normal "I" 
> > shortcut for ignoring a thread.
>
> Could you please post the step-by-step instructions on how to accomplish 
> this?  The "Scripting for Dummies" version, that is :)

From dummy to dummy:  ;)

Go to the Scripting editor (under the Settings menu).  Click on the 
"Custom scripts" tab, then click on "New script".  It will ask you for a 
name.  You can give it any name, but for this example, we'll call it 
IgnoreGet.  It will then take you to the edit window.  Paste the 
following between the "Begin" and "End" lines:

ADo('Ignore');
ADo('SkipRetrieveToNextUnreadMessage');

Then click on Compile, and it should tell you it compiled with no errors.  
Then click on Save, and you're done.  You can exit the Scripting editor.

In order to use this, you have to assign it a shortcut.  You can do that 
in Settings > Configure buttons/shortcuts.  Look in the Scripts section 
for IgnoreGet (or whatever you called it).

I simply replaced the "I" shortcut for the regular Ignore function.  If 
you do that, make sure you assign another shortcut to Ignore first.  
There is a bug in Dialog that will cause it to steal it back the next 
time Dialog starts up, if you try to overwrite it or if you try to assign 
it no shortcut at all.

HTH.
-- 
"It's been a rough day.  I got up this morning ... put on a shirt and a
button fell off.  I picked up my briefcase, and the handle came off.
I'm afraid to go to the bathroom."  - Rodney Dangerfield
Technical Details
Message-ID: <zww574fladdg$.dlg@tarkus.karnevil9.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!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news1.west.cox.net.POSTED!53ab2750!not-for-mail
References: <d0q20vtejrao.dlg@tarkus.karnevil9.com> <1comygr6ehz7k.uqq8gfnhdsgn.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <zww574fladdg$.dlg@tarkus.karnevil9.com>
Subject: Re: [Dialog] Let's talk about Scripts :)
Date: Sat, 02 Nov 2002 18:50:04 GMT
From: Tarkus <karnevil9@beer.com>
References: <d0q20vtejrao.dlg@tarkus.karnevil9.com> <1comygr6ehz7k.uqq8gfnhdsgn.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!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news1.west.cox.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: dialog.20.karnevil9@xoxy.net
Organization: Brain Salad Surgery
X-Face: jX#]dcy06XG/h]^S&Es)j+i^|l951>b?6ay9h6At)oOt&%aIgP.i.B!kbX)aJIWrQai,TY& L^34eskI;v%'~i|gLTrPhTV4vOT92b2D,@Z44*M"y`0b&X>m+6Sz2h96KnB"'@+'{G@yJsSnTM908| z>0"2&l\d6s~W8KXWxHSPUdZiy_6tn;|?'~6_B6Z1HGh@mh
User-Agent: 40tude_Dialog/2.0.2.1
Lines: 41
NNTP-Posting-Host: 68.96.229.128
X-Complaints-To: abuse@cox.net
X-Trace: news1.west.cox.net 1036263004 68.96.229.128 (Sat, 02 Nov 2002 13:50:04 EST)
NNTP-Posting-Date: Sat, 02 Nov 2002 13:50:04 EST