🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262008

Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?

#262008
From: Alexandre Janssens
Date: Fri, 21 Apr 2017 15:46
76 lines
4094 bytes
Reading <news:odd3vs$13bt$1@gioia.aioe.org>, Alexandre Janssens
<AlexandredeBelgique@ozone.be> wrote:

> Program SafeSend;
> Begin
>  ADo('OnlineMode');
>  ADo('OnlineMode');
>  ADoLater('run-the-command-to-send-all-messages-in-the-outbox');
> End.

To help others, I found a list of ADo commands, where the custom script to
prevent accidental IP privacy leaks by Dialog when sending queued messages
in the outbox becomes.

Program SafeSend;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('SendAllInOutbox');
End.

Here is a writeup how to add that custom script incorporating the tutorial
step suggestions that Bernd suggested for the previous StopLoad script. The
purpose of this writeup is to help others get up to speed on writing custom
scripts faster and easier than it took me, where the goal is always that
the next person has an easier time of it than the previous person.

0. Make a note of any unused "Control+KEY" shortcuts:
   Dialog: Help > Help contents > Reference > Keyboard shortcuts
   Note: By default, the 9 available alphabetic-control shortcuts are:
   Ctrl+G, Ctrl+H, Ctrl+I, Ctrl+J, Ctrl+K, Ctrl+M, Ctrl+P, Ctrl+Q, & Ctrl+Z

   And make a note of all the possible Dialog "ADo" commands:
   http://bertel.lundhansen.dk/?page=dialog/functionlist
1. Open the Scripting input GUI:
   Dialog: Settings > Scripting > Scripting
2. Tell it you're creating a custom script:
   Scripting: Custom scripts
3. Start a new script (which you can name anything you like):
   Scripting: File > New script > 
   Please enter the name for the new script = SafeSend > [OK]
4. Note that this creates a boilperplate custom script named "SafeSend.ds".
   Program SafeSend;
   Begin
   End.
5. Replace (or modify) the boilerplate custom script to look like this:
   Program SafeSend;
   Begin
    ADo('OnlineMode');
    ADo('OnlineMode');
    ADoLater('SendAllInOutbox');
   End.
6. Compile your new custom script:
   Scripting: Script > Compile (should say "Successfully compiled")
7. Run your new custom script (because it can error in running also!)
   Scripting: Script > Run (should say "Successfully executed")
8. If desired, set a shortcut to execute your custom script:
   Scripting: Custom scripts > [Show button config]
   Customize Toolbars: Commands > Categories > Scripts > 
   (at this point, select your custom script by name) 
   Shortcut = (use something not in the default list, e.g., Ctrl+I)
   Customize Toolbars: Close
   Note: You can also use "Dialog: Settings > Configure buttons/shortcuts"
   to change or assign a keyboard shortcut to a script after the fact.
9. Save your new custom script and keyboard shortcut:
   Scripting: File > Save
10. Close the scripting GUI:
    Scripting: File > Close

To use the shortcut, just press "Control+I" any time you want Dialog to go
offline and then back online before sending any messages. 

This should prevent some Dialog IP privacy leaks.

-- 
This message is being sent by that script so if you see this, it worked! 
Technical Details
Message-ID: <odd9gl$1f68$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <od8683$u26$1@gioia.aioe.org> <nl0azmvoiwlc$.dlg@b.rose.tmpbox.news.arcor.de> <odd3vs$13bt$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <odd9gl$1f68$1@gioia.aioe.org>
Subject: Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
Date: Fri, 21 Apr 2017 15:46:30 +0000
From: Alexandre Janssens <AlexandredeBelgique@ozone.be>
References: <od8683$u26$1@gioia.aioe.org> <nl0azmvoiwlc$.dlg@b.rose.tmpbox.news.arcor.de> <odd3vs$13bt$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 76
NNTP-Posting-Host: 16gMfjo2GfkyZtGucxAt9A.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: 40tude_Dialog/2.0.15.41
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 254461674
X-Received-Bytes: 4060