🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by rdj Mon, 22 Aug 2011 04:01
Dialog: Small Issues
#246976
Author: rdj
Date: Mon, 22 Aug 2011 04:01
20 lines
1694 bytes
G'day,

A few questions re: Dialog (I'm using 2.0.15.1b38).

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). Simple stuff, just
Select All + Reformat Paragraph, and (more importantly) remove multiple
blank lines (the General Settings > Posting > `Remove multiple empty blank
[...]' checkbox works for Usenet messages, but not email). Can this be done
with a script?

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?

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?

Any info appreciated, cheers.
Re: Dialog: Small Issues
#246977
Author: Gene E. Bloch
Date: Mon, 22 Aug 2011 04:15
11 lines
1429 bytes
On Mon, 22 Aug 2011 12:01:15 +0800, rdj wrote:

> 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?

Settings > Configure Buttons/Shortcuts

-- 
Gene E. Bloch (Stumbling Bloch)
Re: Dialog: Small Issues
#246978
Author: Bernd Rose
Date: Mon, 22 Aug 2011 04:45
16 lines
1926 bytes
On Mon, 22 Aug 2011 12:01:15 +0800 rdj, wrote:

> 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?

This is a known bug of .1. Update to .41 (not: .84, which is from a 
different development chain and introduces lots of new bugs!):

  http://dialog.datalist.org/downloads/download.html

It may resolve your other problems, as well. I don't have the time to
check this, at the moment.

Bernd
Re: Dialog: Small Issues
#246979
Author: Bernd Rose
Date: Mon, 22 Aug 2011 04:54
16 lines
2051 bytes
Following myself up:  :-(

>> 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?
> 
> This is a known bug of .1. Update to .41 (not: .84, which is from a 
> different development chain and introduces lots of new bugs!):

Sorry, the update won't resolve your problem, as long as the error
pane of the status window is open. The problems solved pertain other
(sub)menu shortcuts. (I should have checked before posting.) You 
nevertheless should update to .41, though...  ;-)

Bernd
Re: Dialog: Small Issues
#246981
Author: Bernd Rose
Date: Mon, 22 Aug 2011 18:33
75 lines
4677 bytes
On Mon, 22 Aug 2011 12:01:15 +0800, rdj wrote:

Now - with a bit more time at hands - a couple of additional
suggestions...

> 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). Simple stuff, just
> Select All + Reformat Paragraph, and (more importantly) remove multiple
> blank lines (the General Settings > Posting > `Remove multiple empty blank
> [...]' checkbox works for Usenet messages, but not email). Can this be done
> with a script?

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.

For reformatting I've assigned Ctrl+r to <Reformat Paragraph>. 
(Use <Options><Configure...> in a Composition Window to do this.)
Afterwards, it is just Ctrl+a,r,<Home> (i.e.: press a, r and - if
you wish to start on top of the message - <Home> while holding 
the Ctrl key down.) 

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.
 
> 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.

Get Ressource Hacker from here:

  http://www.angusj.com/resourcehacker

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

Search for the string of the menu entry, where you want to change the
shortcut, e.g. "&Silent errors". Please note that the ampersand stands
always directly before the character, which currently carries the
shortcut. To remove a shortcut altogether, just delete the ampersand.
If you wish a different character to be the shortcut, move the
ampersand prior to that character. Afterwards, hit <Compile Script>
and save.

Including the ampersand character in the search is not necessary, but
a good security measure. Some strings may occur more than once in
the *.exe. Nevertheless, look at the context of the position, where
the string is found and continue the search to look, whether there
are other positions, as well. Changes should only be done, when it
is certain, that the correct position /really/ has been found...

And maybe try beforehand, whether the shortcut you wish to assign
isn't in use already. 

Of course, Dialog should be closed during the patching.

> 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.

HTH.
Bernd
Re: Dialog: Small Issues
#246986
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads