🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264882

Re: Dialog signature delimiter

#264882
From: VanguardLH
Date: Thu, 22 Apr 2021 05:30
58 lines
3886 bytes
Bernd Rose <b.rose.tmpbox@arcor.de> wrote:

> VanguardLH wrote:
> 
>> Instead of writing a script (for the OnBeforeSend event), perhaps
>> easier would be to write a custom script and assign it to a button
>> that you add to a toolbar.  Then you just click on the toolbar
>> button to add the trailing text.  
> [...]
>> When you click the toolbar button, its custom script would issue
>> keystrokes in the current window (which should be the compose window
>> when you are writing a new message).
> 
> You can't add scripts as toolbuttons to the compose window toolbars.
> And if you add them to the main window toolbars, the compose window
> does not have the focus while clicking on the button.  ;-)

Argh!  A suggestion shot down.  Guess bill will need to figure out the
OnBeforeSend event script, or your auto-correct suggestion.

>> If you are just adding "regards, Bill" to the end of your messages,
>> how often do you post where adding that content would become a major
>> nuisance?
> 
> One-liners could be inserted with auto-correction. This would probably
> be the easiest approach. 

Did not know Dialog has an auto-correct feature.  I knew it had an
on-the-fly spellcheck feature.  I just looked there and, yep, there is
an AutoCorrect option.  Guess the user has to edit the dictionary file
to add an auto-correct entry.

> There are several ways to add and activate auto-correction entries.
> The, IMHO, most systematic one is opening the Spelling Options dialog
> from SpellCheck -> Settings menu of a Compose window and then
> selecting the Dictionaries button on the right bottom side of that
> dialog. In the following list view, new custom dictionaries can be
> created or existing ones selected and (de)activated. When a
> dictionary is selected, it can be edited. An edit subdialog opens.
> The second tab enables to add/delete or change autocorrection
> entries. if the entry: rb -> Regards, Bill is added, then the text
> "rb " (please note the space; any other word ending characters should
> work as well) will automatically be replaced by "Regards, Bill".

Thanks for the info.  Something I had not thought about, but don't
remember using the Auto-Correct button before.  That would also allow
adding multiple entries to the dictionary to select from different
content blocks at the "bad" string position (which are NOT signatures).  

This scheme does means other NNTP clients won't find the sigdash line to
strip it from replies.  Unless the respondent reviews and trims their
message before submission, which is the typical scenario, the replies
end up with all the pseudo-sig fluff.

Of course, bill wanted "regards,\nbill" inserted into his message, but
auto-correct would add a string within the current line instead of
adding 2 lines.  I take it \n (newline) cannot be included in the
auto-correct string.
Technical Details
Message-ID: <qa1g6yr2jbwk$.dlg@v.nguard.lh>
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
References: <s5ilpb$kd9$1@gioia.aioe.org> <1nxmd9phvu8fg.dlg@v.nguard.lh> <1dob5buuw4cod.dlg@v.nguard.lh> <s5nspi$1p71$1@gioia.aioe.org> <j60d0yfypsr3$.dlg@v.nguard.lh> <fj8zu1aou1se.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <qa1g6yr2jbwk$.dlg@v.nguard.lh>
Subject: Re: Dialog signature delimiter
Date: Thu, 22 Apr 2021 00:30:40 -0500
From: VanguardLH <V@nguard.LH>
References: <s5ilpb$kd9$1@gioia.aioe.org> <1nxmd9phvu8fg.dlg@v.nguard.lh> <1dob5buuw4cod.dlg@v.nguard.lh> <s5nspi$1p71$1@gioia.aioe.org> <j60d0yfypsr3$.dlg@v.nguard.lh> <fj8zu1aou1se.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
Cancel-Lock: sha1:UpjXjuR5g6ruRfCWy4A4L7HfLEU=
Keywords: VanguardLH VLH811
Content-Transfer-Encoding: 7bit
Organization: Usenet Elder
X-Trace: individual.net aAcByTShG+YDfX6F2UgiFQNhsiWjQ85lFnabcIWj8T6gGWJgUn
Reply-To: invalid@invalid.invalid
Content-Type: text/plain; charset="us-ascii"
Lines: 58
Mime-Version: 1.0
User-Agent: 40tude_Dialog/2.0.15.41
Newsgroups: news.software.readers