Article View: news.software.readers
Article #265500Re: Newsreaders eh?
From: Jim S
Date: Mon, 25 Apr 2022 13:51
Date: Mon, 25 Apr 2022 13:51
80 lines
4260 bytes
4260 bytes
On Sun, 18 Apr 2021 13:04:05 +0200, Bernd Rose wrote:
> On Sun, 18th Apr 2021 10:53:35 +0100, Jim S wrote:
>
> [40tude Dialog: 2 Scripts to plonk without confirmation dialog]
>> I understand the scripts, but not this :
>> First stuffing the keyboard buffer with Alt+o (to get the
>> Scoring&Actions
>> window closed, later on) may seem counter-intuitive. But the scripts
>> work only this way round.
>
> This is just an explanation of the inner workings of the scripts. You
> can safely ignore this.
>
> The following shows a complete walk-through for creating the scripts and
> assigning the shortcuts. The whole process can, IMHO, be finished in
> less than 5 minutes.
>
> 1) Open the Script editor: menu Settings -> Scripting -> Scripting...
> 2) Select the "Custom scripts" tab on the left side of the Script editor
> 3) Choose menu File -> New script... and enter DoPlonk as name.
> Now a new entry DoPlonk.ds is created in the list of "Custom scripts"
> This entry is pre-selected.
> 4) In the script body window on the right side you'll see 3 lines of code.
> 5) Overwrite these 3 lines with:
>
> Program DoPlonk;
> Begin
> PostKey(79, false, true, false, false, false, false, false, false);
> ADo('AddPlonkFilter');
> End.
>
> 6) Save the script: menu File -> Save
> 7) Compile the script: menu Script -> Compile
>
> 8) Choose menu File -> New script... again and enter DoSubjPlonk as name.
> 9) Again overwrite the 3 standard lines of script code. This time with:
>
> Program DoSubjPlonk;
> Begin
> PostKey(79, false, true, false, false, false, false, false, false);
> ADo('AddSubjectPlonkFilter');
> End.
>
> 10) Save the script: menu File -> Save
> 11) Compile the script: menu Script -> Compile
>
> 12) Close the Script editor window.
>
> 13) Open the Shortcut editor: menu Settings -> Configure buttons/shortcuts
> 14) Choose "Scripts" (the last entry in the Categories list on the left side
> 15) Select DoPlonk from the Commands list on the right side
> 16) Click in the field beside the label "Shortcut*"
> 17) Hit whatever keyboard shortcut you wish to assign to DoPlonk
> 18) Select DoSubjPlonk from the Commands list
> 19) Click again in the field beside the label "Shortcut*"
> 20) Hit whatever keyboard shortcut you wish to assign to DoSubjPlonk
> 21) Close the Shortcut editor
>
> When you try to assign a shortcut to DoPlonk or DoSubjPlonk, which is
> already in use by another command, you can decide to either assign the
> shortcut, anyway. (Overwrite? -> YES.) This way, the former command will
> loose that shortcut and DoPlonk or DoSubjPlonk will be executed by this
> shortcut from now on.
>
> Or you can cancel the assignment of that shortcut. (Overwrite? -> NO.)
> This way, you'll be back in the field "Shortcut*" and can try to assign
> another one.
>
> HTH.
> Bernd
Hi Bernd
I finally plucked up the courage to do these scripts (53 weeks after)
Of course it works a treat, but I would quite like it to delete the header
at the same time.
Currently I have to read the article and them - 'show only unread'
Can I amend the scripts you sent or is that a whole new can of worms?
--
Jim S
Technical Details
Message-ID:
<nffeayqllhu0.mcbv8hdbzjaj$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<gkfgs5nfgug4$.1q24cwbv2tx3l.dlg@40tude.net> <17ztypxu0bb1p$.dlg@b.rose.tmpbox.news.arcor.de> <MPG.3ae611f563b51ec39897a1@news.virginmedia.com> <12pj6jxdq5dve.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <nffeayqllhu0.mcbv8hdbzjaj$.dlg@40tude.net> Subject: Re: Newsreaders eh? Date: Mon, 25 Apr 2022 14:51:11 +0100 From: Jim S <jim@jimXscott.co.uk> References: <gkfgs5nfgug4$.1q24cwbv2tx3l.dlg@40tude.net> <17ztypxu0bb1p$.dlg@b.rose.tmpbox.news.arcor.de> <MPG.3ae611f563b51ec39897a1@news.virginmedia.com> <12pj6jxdq5dve.dlg@b.rose.tmpbox.news.arcor.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 80 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: 40tude_Dialog/2.0.15.84 Cancel-Lock: sha1:gEp7jvtRAPYmf72zozuA42ug5Ms= X-Face: 6?%9&O$Ef&~f7s}qiMjb18=&)9a}$:4ew_:i]WBa@mRH`'@/o:a%fN7*zR?=eniL[:"ISp# +H|<2fJ-bj?iPuy0;!oXjv,A&y5hs'QrwbWsUXdo3%Fyhz?o`*G>XV8jJrVtvH6v_9&CK[)\loOez@ g4o0'h