Article View: news.software.readers
Article #264833Re: Newsreaders eh?
From: Jim S
Date: Sun, 18 Apr 2021 13:43
Date: Sun, 18 Apr 2021 13:43
79 lines
4281 bytes
4281 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
Thanks again Bernd, but one of us is missing the point here.
I am happy with the the plonk and plonk by subject that cuurently exist.
All I am asking is that I prevent the window opening for confirmation every
time. Surely I don't need to compl]ile those scripts just for that to
happen?
--
Jim S
Technical Details
Message-ID:
<ev667nuh6zgb$.17zvfeooqr4kd$.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: <ev667nuh6zgb$.17zvfeooqr4kd$.dlg@40tude.net> Subject: Re: Newsreaders eh? Date: Sun, 18 Apr 2021 14:43:53 +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 X-Complaints-To: http://netreport.virginmedia.com Lines: 79 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.84 Organization: virginmedia.com 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 Nntp-Posting-Date: Sun, 18 Apr 2021 13:43:54 UTC Content-Type: text/plain; charset="us-ascii"