🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #246986

Re: Dialog: Small Issues

#246986
From: rdj
Date: Tue, 23 Aug 2011 03:49
73 lines
4063 bytes
Bernd Rose:
> On Mon, 22 Aug 2011 12:01:15 +0800, rdj wrote:
>> 1.  I'm looking for a way to automatically clean up a message just after
>> I hit reply/followup (i.e. from within the message editor).

> Multiple empty lines are removed for reply-mails here, as well. But this
> isn't different from .1, which - at least here - shows the same behavior:
> One blank line is kept in both cases; all surrounding ones are removed,
> when the option you mentioned is set.

I realised yesterday that all versions delete multiple empty lines from
email, too. The problem is that most of the emails I get are from MS
Outlook, which often uses the following:

> 
>  
> 

The middle line has two spaces after the quote character, so Dialog keeps
all three lines. I think it's part of the deal when Outlook sends HTML and
plain-text versions of the same message.

> For reformatting I've assigned Ctrl+r to <Reformat Paragraph>.

Same.

> To optionally combine these shortcuts, you probably need an external
> program like AutoHotkey (http://www.autohotkey.com), because scripting
> will always address the main Dialog Windows instead of the Composition
> Window, IIRC.

Cool, I've managed to make AHK run through a couple of loops which clean up
Outlook messages and combine with Ctrl-A/-R automatically.

>> 2.  The accelerator keys to get into the _O_ptions and _S_ettings menus
>> don't work. I assume this is because the Errors tab in the Status
>> toolbar contains `Clear and Cl_o_se' and `_S_ilent Errors' buttons. Can
>> any accelerator keys be changed/removed?

> Accelerator keys for *main* menu entries and for the status window cannot
> be changed via 4D GUI, AFAICT. You'd need to use a resource editor and
> patch the Dialog.exe for this.

[snip Resource Hacker location/instructions]

> and load Dialog.exe into it. - After making a backup of the Dialog.exe,
> which hopefully is .41 by now...  ;-)

Yep, .41. Sweet, Resource Hacker was just what I needed!

Now the Errors tab button captions are C&lear, &Clear and Close, and S&ilent
Errors, and I can open the Online/Settings menus with Alt-O/-S at all times.

>> 3.  Is there a way to force Dialog to use a particular identity when a
>> new email message is triggered by a website email link?

> No parameter for this. But since always the topmost "Inbox" identity from
> the <Subscribed> pane is used for mailto: links opened via a -mailurl:
> command line parameter, just order your identities on that pane the way
> it suites your purpose most.

I have two identities: an email identity with no NNTP and a Usenet identity
with no POP/SMTP. I always keep Dialog running since I use a script to
check for email regularly, and I always leave it in the last group I've
been reading... so whenever an email is triggered from a website link, it
selects the default identity for the newsgroup I'm reading -- which has no
POP/SMTP.

The "worst case" is a connection error when I try to send an email through
the Usenet identity, which isn't too bad. I think your topmost Inbox method
only works if the web email link starts Dialog from scratch?

Thanks for all your help, Bernd!
Technical Details
Message-ID: <4urtob.c05.17.1@news.alt.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.alt.net
References: <4upa1m.ee1.17.1@news.alt.net> <ekjg6fsd6jgl.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <4urtob.c05.17.1@news.alt.net>
Subject: Re: Dialog: Small Issues
Date: Tue, 23 Aug 2011 11:49:51 +0800
From: rdj
References: <4upa1m.ee1.17.1@news.alt.net> <ekjg6fsd6jgl.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!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.alt.net
Newsgroups: news.software.readers
Lines: 73
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: 40tude_Dialog/2.0.15.41
X-Original-Bytes: 3844