From 40tude Dialog Wiki
This has been asked so many times, I'm going to add a bit to the FAQ section. This is just one post of many on the subject that can be found in news.software.readers. Andreas Loch has answered the question so many times that I thought it was his script, but he has informed me that Marcus Moennig is the original author.
>>> Is it possible to make 40tude dialog to load posts with a single mouse- >>> click ? >> >> I guess that you probably can achieve this with a "message script". > > Thanks for the tip, I'll look into it.
program ARTICLELV_WM_LBUTTONUP; procedure OnWMessage(var Msg:TMessage;var handled:boolean); begin ADo('GetSelectedMessageBodies'); end; begin end.
To implement this script:
In menu go to "Settings" -> "Scripting" > "Scripting ..."
That will open up the scripting window. In the left pane select the "Message scripts" tab then "File" > "New Script" or CTRL+N will let you had a script base on an event. The event we want to react to is when the left mouse button is raise up when we are on article, so select:
- as Control : ARTICLELV
- as Message : WM_LBUTTONUP
That will bring you a new script with a code template :
program ARTICLELV_WM_LBUTTONUP; procedure OnWMessage(var Msg:TMessage;var handled:boolean); begin //Your code goes here end; begin end.
Delete it and replace it with the code above. Note if you have already code in this event, you might want to keep it and instead append the code !