🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262003

Re: [Dialog] How to delete selected groups from the "All" tab?

#262003
From: VanguardLH
Date: Sat, 17 Jun 2017 21:51
62 lines
3965 bytes
picoRNA <picoRNAspam@comcast.net> wrote:

> Bernd's Big8 regular expression works just fine for the stated goal!
> ^(comp\.|news\.|sci\.|rec\.|soc\.|talk\.|misc\.|alt\.).*\.print.*\(Albasani\)$
> 
> What would be nice is to turn that into some sort of keystroke command in
> Dialog.

_Using scripts in Dialog_

You can define your own scripts in Dialog and then assign them to
toolbar buttons to run them on demand.

Settings -> Scripting menu
to define a custom script.  

After defining a script, assign it to a button by:
right-click on toolbar -> Configure buttons -> category = Scripts,
commands = pick the custom script you created

Dialog is written in Pascal or Delphi (a variant of Pascal).  Alas,
there is documentation on the object for scope in which those scripts
are defined; i.e., there is no outer documentation to define the
environment under which the scripts are executed or the functions
defined within the scope of a script to know what I have available.  I
usually wander off to the following site for code examples:

http://dialog.datalist.org/scripts/script_library.html

_Using a keyboard/mouse macro tool_

Alternatively, you could use AutoHotkey or AutoIt to define macros that
run only within a particular program's window.

_Saving the string in an archived clip_

Another choice is to use a clipboard manager.  This gives you not only a
greater number of clips to store for use in the Windows clipboard but
also lets you archive the clips for reuse later.  Some don't really
archive but have a cache of clips that rollover the oldest one when a
new one is added (which means you lose your old clips).  Those are
designed for archiving the clips that you select.

For the ones that let you archive selected clips, yYou could define the
regex string that works, copy it into the clipboard (which the clipboard
manager will copy into its cache), and then set it aside in an archive
in the clipboard manager for later reuse.  

I use ClipMate but it's not free (costs $35).  Hoewever, I got it free
by using their TrialPay scheme: elect to trial something else and you
get a free license of ClipMate.  Just be sure to cancel the trial before
it expires so you don't end up paying for it, and try to find a trial
that doesn't ask for a credit card number.  Clipmate lets me not only
have an archive but multiple archives so I can group the clips by topic,
like all clips about tweaking Windows, clips about e-mail, clips about
each web browser, and so on.  I can organize those archives in a tree so
I have an archive with groups of clips that can have subgroups of clips
and so on to increase granularity.

Another clipboard manager (very much like the features in ClipMate) is
ClipMagic.  That used to be free but they decided to go commercial.
There are lots of clipboard managers but most are rather lame.
Technical Details
Message-ID: <1ax9a8jdp16th$.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <643b529u7vcy.dlg@v.nguard.lh> <oi3rl4$npj$1@adenine.netfront.net>

Show Full Headers
Complete Article Headers
Message-ID: <1ax9a8jdp16th$.dlg@v.nguard.lh>
Subject: Re: [Dialog] How to delete selected groups from the "All" tab?
Date: Sat, 17 Jun 2017 16:51:16 -0500
From: VanguardLH <V@nguard.LH>
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <643b529u7vcy.dlg@v.nguard.lh> <oi3rl4$npj$1@adenine.netfront.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers
Organization: Usenet Elder
Lines: 62
Sender: VanguardLH <>
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net osUP/jlGByPPC0FPSMzHwABEV2LwF3ei8qaF1JyOtof+/04ism
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:lkhOnu2GXt8MBmSgFKm8cSOK5Ls=
User-Agent: 40tude_Dialog/2.0.15.41
X-Received-Body-CRC: 1054886076
X-Received-Bytes: 3905