Can I set 40tude dialog to edit new articles in Notepad++?
I don't need 40tude dialog to do anything else in Notepad++.
I really like Dialog ever since Bernd turned me on to it.
But I also like Notepad++ just as much.
Can I set 40tude dialog to edit new articles in Notepad++?
I don't need 40tude dialog to do anything else in Notepad++.
I don't see the option in Settings >> General Settings >> Misc.
Google says "It looks like there aren't many great matches." <https://www.google.com/search?q=40tude+dialog+scripts+notepad%2B%2B>
Open Notepad++, and compose your messaged. Copy-n-paste into a
new-message window in Dialog. That's all I can recommend. Dialog was abandoned 16 years ago, if not a bit earlier.
Not really. It is possible per script to save messages from Dialog
to disk. And it should also be possible for this script to open the
saved message in Notepad++ per shell execution command issued from
Dialog. Moreover, it would also be possible to reload the content
of the saved file to Dialog per script. But the whole process would
be somewhat difficult to implement and probably not seem seamless
enough for a good usage experience.
I suggest to use normal Windows functionality for this task, if you
really want to go this way: Assign a hotkey to Notepad++ and use
SelectAll, Cut or Copy, Paste keyboard commands to move the text
between both programs.
Please note, that if you do not re-edit the text afterwards in the
Dialog compose window, you loose the ability for Dialog specific
functions like inserting WrapOverride and spoiler characters. IIRC,
both do not survive copy/paste *back* into Dialog, because Dialog
regards these characters not as part of the text itself and strips
(or special encodes? I do not really remember, ATM) them on insert.
In any case: They loose their function on insert.
On Wed, 11 Aug 2021 01:35:42 -0500, VanguardLH wrote:
Open Notepad++, and compose your messaged. Copy-n-paste into a
new-message window in Dialog. That's all I can recommend. Dialog was abandoned 16 years ago, if not a bit earlier.
That's what I was worried about & it's what I've been doing every since you and Bernd turned me on to this otherwise wonderful 40Tude Dialog newsreader.
To open notepad while I'm in Dialog I can type [WindowsKey][r][n][EnterKey] That brings up Notepad++ from within anywhere while I'm in 40Tude Dialog.
If I combine Bernd's suggestion of having Dialog save to a specific file, that's just as easy to modify the "n" key to edit that specific dialog file. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\
n.exe === C:\My Documents\bill\40tude\dialog_composition_file.txt
In that case, if I type [WindowsKey][r][n][EnterKey], it will bring up that dialog-saved file.txt in the default editor (which could be Notepad++).
I was hoping Dialog's "Save & Close Draft" would save the composition to a given location but I can't find the saved draft in a text-editable format.
To open notepad while I'm in Dialog I can type [WindowsKey][r][n][EnterKey] That brings up Notepad++ from within anywhere while I'm in 40Tude Dialog.
To be more clear, I could have typed [WindowsKey][r][notepad++][EnterKey] from within Dialog but that would be too many clicks to do the same task.
Windows (well my XP flavour!) allows you to assign a shortcut key
to a desktop icon - I just assigned N to Notepad
[I've already cheated and overwrote the old notepad.exe with Notepad2]
This allows Ctrl-Alt-N to open Notepad2.
{You don't get any option but to have the "Ctrl-Alt-" part}
I was hoping Dialog's "Save & Close Draft" would save the composition to a >> given location but I can't find the saved draft in a text-editable format.
It should be in the Drafts folder.
I was hoping Dialog's "Save & Close Draft" would save the composition to a given location but I can't find the saved draft in a text-editable format.
I do NOT auto-hide the Windows Taskbar, the default.
I added several toolbars to let me group programs.
Whatever program I'm in, I just
double-click the shortcut in a toolbar. A double-click is a lot shorter
than using the Start menu search.
I use toolbars in the Taskbar as a
quick-access method to programs (double-click), even faster than using
the Start menu's search <Start>string<arrowkeys><Enter>, or bringing up
the Run dialog using <Win+R>string<Enter>.
If a program is windowed, even if maximized, the Taskbar is shown. Only
if a program is fullscreened is the Taskbar obliterated. Dialog doesn't support fullscreen mode (F11 does nothing in Dialog).
Quinn C wrote:
Bill wrote:
I was hoping Dialog's "Save & Close Draft" would save the
composition to a given location but I can't find the saved draft in
a text-editable format.
It should be in the Drafts folder.
It "should" be.
But there is no "Drafts" folder that I know of in my Dialog hierarchy.
40tude Dialog has folders for {locale,maps,Scripts,dicts,logs,temp,data}.
If the saved draft is in a text-editable file somewhere, I'd love to
know.
On Wed, 11 Aug 2021 14:23:43 -0400, Quinn C wrote:
I was hoping Dialog's "Save & Close Draft" would save the composition to a >>> given location but I can't find the saved draft in a text-editable format. >>It should be in the Drafts folder.
It "should" be.
But there is no "Drafts" folder that I know of in my Dialog hierarchy.
40tude Dialog has folders for {locale,maps,Scripts,dicts,logs,temp,data}.
If the saved draft is in a text-editable file somewhere, I'd love to know.
I went to my taskbar menu shortcut for notepad++.lnk to set properties.
It wouldn't let me type anything but a single character such as [n].
It asked for Administrator Permission which I said "OK" to.
But then when I typed [control][alt][n] nothing happened.
Without knowing what database program was used
without knowing the database's record delimiters and record structures
digging into those files would be fruitless.
However, that still does not give you a text-only formatted file in
which messages (retrieved, drafts, sent, etc) are stored.
Yeah, right.
I went to my taskbar menu shortcut for notepad++.lnk to set properties.
It wouldn't let me type anything but a single character such as [n].
It asked for Administrator Permission which I said "OK" to.
But then when I typed [control][alt][n] nothing happened.
On Wed, 11st Aug 2021 20:36:51 +0200, bill wrote:
On Wed, 11 Aug 2021 14:23:43 -0400, Quinn C wrote:
I was hoping Dialog's "Save & Close Draft" would save the composition to a >>>> given location but I can't find the saved draft in a text-editable format. >>>It should be in the Drafts folder.
It "should" be.
But there is no "Drafts" folder that I know of in my Dialog hierarchy.
40tude Dialog has folders for {locale,maps,Scripts,dicts,logs,temp,data}.
If the saved draft is in a text-editable file somewhere, I'd love to know.
Quinn was talking about the Drafts folder (= a special "group") name inside the Newsgroups list of a running Dialog.
Quinn was talking about the Drafts folder (= a special "group") name inside >> the Newsgroups list of a running Dialog.
Right. I didn't recognize "editable" was meant as "openable in a text editor"; the drafts are certainly editable within Dialog.
Shortcut hotkeys seem to have a limited scope.
Most times and in many
places where I have shortcuts, they don't work for me.
Only if the
shortcut (.lnk file) is on the desktop (%userprofile%\desktop) or in the Start folder ("%appdata%\Microsoft\Windows\Start Menu" on Win10, don't remember for WinXP) does the shortcut's hotkey work. Might also work in
a subfolder under the desktop folder.
Microsoft as repurposed many KB article numbers, so URLs to some old web pages, especially for unsupported versions of Microsoft, like Windows
XP, are no longer available. By my recollection of a then-existing KB article said shortcut keys only work when the shortcuts are on the
desktop or under the Start menu hierarchy.
Do you have a shortcut in the Start menu somewhere? Or on your desktop?
I noticed that using a hotkey for a shortcut will load the program, but
there is a lag before the program loads. I would also make sure the
shortcut with hotkey (on desktop or in Start menu) points to an
executable file, not to a data file which operates by filetype
association.
For me, shortcut hotkeys have little value since I tend to keep my
desktop folder trimmed. I like order and neatness. The insides of my computer are likewise. So is my home, car, and work and lab desks. I
got ribbed at work that no one can tell if I have been at my desks.
Yeah. Windows must have rules for where it looks for keyboard shortcuts.[...]
I asked on the Windows newsgroup but nobody has answered yet where shortcuts must be in order for keyboard shortcuts to work.
This implies there are THREE locations (desktop, startmenu, taskbar) https://www.tenforums.com/tutorials/93130-how-assign-keyboard-shortcut-shortcuts-windows-10-a.html
Notice mine isn't in the taskbar per se. It's in a toolbar in the taskbar.
One false bit in the wrong place may render
the whole database unreadable...
On 2021-08-11, "Kerr-Mudd, John" <admin@127.0.0.1> wrote:
Windows (well my XP flavour!) allows you to assign a shortcut key
to a desktop icon - I just assigned N to Notepad
[I've already cheated and overwrote the old notepad.exe with Notepad2]
Hi there ker-muhj-uhn,
Windows 10 isn't much different than XP except in the pretty background.
In Dialog I tried [control][alt][n] which did nothing (it's a good start).
This allows Ctrl-Alt-N to open Notepad2.
I went to my taskbar menu shortcut for notepad++.lnk to set properties.
It wouldn't let me type anything but a single character such as [n].
It asked for Administrator Permission which I said "OK" to.
But then when I typed [control][alt][n] nothing happened.
Googling I found maybe it must be in the start menu apparently? https://www.google.com/search?q=how+to+set+shortcut+key+in+windows+10
I'm not sure why it doesn't work with ANY shortcut, but maybe it has to be a shortcut that is in the path?
Anyway, that worked by setting the start menu Notepad++ shortcut.
I always use the WinXP style menus (which is simply a menu folder pinned to the taskbar) so I would never use the Win10 start menu and I often clear it out so I'm lucky it was still there.
{You don't get any option but to have the "Ctrl-Alt-" part}
I just tried it in this composition Window and it worked nicely.
That saves a few keystrokes.
Here's kind of what I do (although circumstances dictate the steps).
0. In Dialog on interesting threads I press [shift][w]
This runs a keep-and-highlight script previously supplied by Bernd.
1. I then read an article that I wish to reply to by pressing [f]
2. In the 40tude dialog composition window I press [control][a]
3. Then [control][x]
4. Now (thanks to you) I press [control][alt][n]
5. Then [control][v]
6. Then I can edit to my heart's content and when I'm ready to return
7. In Notepad++ I press [control][a][control][x][alt][f4] (which kills it)
8. Back in Dialog I press [control][v]
9. In Dialog I press "a_a_a" (without the underscore)
This runs a dictionary replace from Bernd which does my salutation.
10. The only mouse action is to send this article to the nntp server.
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab
on one computer could be 4 space characters while on another computer
could be 8 space characters, so someone reading your article may not see
the alignment you selected, and line-wrap could screw it all up.
I use spaces instead of tab: 2 space characters in my article is also 2
space characters seen by the user when reading my article in their client.
I just can't see why you need Notepad++ when all you need is a very
basic text editor for text-only messages composed in and sent by Dialog. >Maybe I missed that part. Seems a lot of work to throw a monster text
editor at a simple job; i.e., swatting a fly with a cannon.
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab
on one computer could be 4 space characters while on another computer
could be 8 space characters, so someone reading your article may not see >the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces
in a text editor display? Sure, that can happen using a word processor.
I use spaces instead of tab: 2 space characters in my article is also 2 >space characters seen by the user when reading my article in their client.
Well, you shouldn't substitute spaces for tabs because that's just
annoying.
Someone might choose a variable-width font for display because
he finds it easier to read, and there are no tabs to line up.
Adam H. Kerman <ahk@chinet.com> wrote:
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab >>>on one computer could be 4 space characters while on another computer >>>could be 8 space characters, so someone reading your article may not see >>>the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces
in a text editor display? Sure, that can happen using a word processor.
I use spaces instead of tab: 2 space characters in my article is also 2 >>>space characters seen by the user when reading my article in their client.
Well, you shouldn't substitute spaces for tabs because that's just >>annoying.
I beg to differ. Tabs are only meaningful if you can be certain what
all your readers' tab settings are, which just ain't possible on Usenet.
I say use spaces and a fixed-width font to do reliable tabulation.
Someone might choose a variable-width font for display because
he finds it easier to read, and there are no tabs to line up.
Tabs are useless in variable-width fonts because the width of such
fonts varies, one compared with another.
[...]
You ask so many question in so many different places, that you loose track
of the answers.
Notice mine isn't in the taskbar per se. It's in a toolbar in the taskbar.
I can't reproduce your problem.
But you can pin Notepad++ directly to the taskbar while running.
Afterwards, you can assign a hotkey inside the icon
shortcut properties. At least if it is done with your current user rights, the hotkey should work with your user rights, immediately.
I just tried it in this composition Window and it worked nicely.Excellent
That saves a few keystrokes.
So I suggest you post this to a windows scripting NG
or try something yourself;
Autokey was the one I used to use; but it's important to ensure you're
on the correct window before issuing the keystrokes!
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab
on one computer could be 4 space characters while on another computer
could be 8 space characters, so someone reading your article may not see >>the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces
in a text editor display?
Sure, that can happen using a word processor.
I use spaces instead of tab: 2 space characters in my article is also 2 >>space characters seen by the user when reading my article in their client.
Well, you shouldn't substitute spaces for tabs because that's just
annoying.
Someone might choose a variable-width font for display because
he finds it easier to read, and there are no tabs to line up.
I just can't see why you need Notepad++ when all you need is a very
basic text editor for text-only messages composed in and sent by Dialog.
Maybe I missed that part. Seems a lot of work to throw a monster text >>editor at a simple job; i.e., swatting a fly with a cannon.
Some people just get used to a feature-rich environment. I use vim which
has dozens of commands I use rarely but it's nice to have access to them
when I need them, plus numerous commands I've never used or learned to use.
Trying?if you quote yoda, i swear upon everything holy that i will book a
flight to okinawa to kick your ass.
you can pin Notepad++ directly to the taskbar while running.
Of course. But I already stated that I'm extremely well organized.
Everything has a place.
Besides, _all_ the programs I use, including the editors, have an AppPaths key dedicated to bringing them up if and when I (rarely) want to.
So, for example, to bring up "vim", I just type [windows][r][v][enter].
To bring up Notepad++, I type [windows][r][n][enter].
To bring up MS Word, I type [windows][r][w][enter].
etcetera
For decades for organizational reasons, my choice has been to not put file editor shortcuts in the taskbar.
Sn!pe <snipeco.1@gmail.com> wrote:
Adam H. Kerman <ahk@chinet.com> wrote:
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window >>>won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab >>>on one computer could be 4 space characters while on another computer >>>could be 8 space characters, so someone reading your article may not see >>>the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces >>in a text editor display? Sure, that can happen using a word processor.
I use spaces instead of tab: 2 space characters in my article is also 2 >>>space characters seen by the user when reading my article in their client.
Well, you shouldn't substitute spaces for tabs because that's just >>annoying.
I beg to differ. Tabs are only meaningful if you can be certain what
all your readers' tab settings are, which just ain't possible on Usenet.
I say use spaces and a fixed-width font to do reliable tabulation.
8-position tabs are a long-standing convention. Yeah, I know clients
don't always implement conventions properly.
Someone might choose a variable-width font for display because
he finds it easier to read, and there are no tabs to line up.
Tabs are useless in variable-width fonts because the width of such
fonts varies, one compared with another.
The width of the characters are variable, sure, but tabs still make the columns line up as intended.
Tab is a proper ASCII character. I object to clients that won't include
the tab character even if the user desires to use it.
Adam H. Kerman <ahk@chinet.com> wrote:
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab >>>on one computer could be 4 space characters while on another computer >>>could be 8 space characters, so someone reading your article may not see >>>the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces
in a text editor display?
What do you mean?
People can set their tab stops in text editors to whatever they
want. Coders tend to use 3 or 4, but I have seen 6 often enough.
. . .
Sn!pe <snipeco.1@gmail.com> wrote:
Adam H. Kerman <ahk@chinet.com> wrote:
Well, you shouldn't substitute spaces for tabs because that's just >>>annoying.
I beg to differ. Tabs are only meaningful if you can be certain what
all your readers' tab settings are, which just ain't possible on Usenet.
I say use spaces and a fixed-width font to do reliable tabulation.
8-position tabs are a long-standing convention. Yeah, I know clients
don't always implement conventions properly.
What is an example of using a 4 space tab by default in lieu of 8 spaces
in a text editor display? Sure, that can happen using a word processor.
Well, you shouldn't substitute spaces for tabs because that's just
annoying. Someone might choose a variable-width font for display because
he finds it easier to read, and there are no tabs to line up.
And I told you the three places, where keyboard shortcuts are recognized
by the Windows OS without severe additional effort. If you will not use
any of the 3 places (to keep your systematic order), then you have to
forgo shortcuts, altogether. (Or set up specific keyboard interception tools.) - Running in circles with impossibilities is fruitless.
8-position tabs are a long-standing convention. Yeah, I know clients
don't always implement conventions properly.
Lewis <g.kreme@gmail.don-t-email-me.com> wrote:
Adam H. Kerman <ahk@chinet.com> wrote:
VanguardLH <invalid@invalid.invalid> wrote:
What is all this text-mode editing that Dialog's own compose window >>>>won't handle? Doesn't sound like your doing HTML, but just text.
Better be careful when aligning text in a text-only compose window. Tab >>>>on one computer could be 4 space characters while on another computer >>>>could be 8 space characters, so someone reading your article may not see >>>>the alignment you selected, and line-wrap could screw it all up.
What is an example of using a 4 space tab by default in lieu of 8 spaces >>>in a text editor display?
What do you mean?
I mean exactly what I had written.
People can set their tab stops in text editors to whatever they
want. Coders tend to use 3 or 4, but I have seen 6 often enough.
Mail and News clients expect an 8-position tab by convention.
If someone is aware of the convention yet changes his display to
something else, that's not an argument to the author not to use tab
stops.
And I told you the three places, where keyboard shortcuts are recognized
by the Windows OS without severe additional effort. If you will not use
any of the 3 places (to keep your systematic order), then you have to
forgo shortcuts, altogether. (Or set up specific keyboard interception
tools.) - Running in circles with impossibilities is fruitless.
Or toss even more software at the solution, like AutoHotkey, AutoIt, a
macro for a programmable key in the keyboard, or something that gets installed that will intercept a hotkey combination.
Bernd Rose <b.rose.tmpbox@arcor.de> wrote:
And I told you the three places, where keyboard shortcuts are recognized
by the Windows OS without severe additional effort. If you will not use
any of the 3 places (to keep your systematic order), then you have to
forgo shortcuts, altogether. (Or set up specific keyboard interception
tools.) - Running in circles with impossibilities is fruitless.
Or toss even more software at the solution, like AutoHotkey, AutoIt, a
macro for a programmable key in the keyboard, or something that gets installed that will intercept a hotkey combination.
What I was hoping was that I wasn't the first person to want Dialog to edit in any given editor (whether that's vim or notepad++ or emacs or atom, etc).
I do not see, why
bill doesn't just create a dedicated subfolder in the start menu named "Hotkey-Center" (or sth. like that). He then could place each and every (icon) shortcut to programs there, which he wants to assigne a (hotkey) shortcut to. - This would be logical, clean and unobtrusive...
On Thu, 12 Aug 2021 12:07:12 +0100, Kerr-Mudd, John wrote:
I just tried it in this composition Window and it worked nicely.Excellent
That saves a few keystrokes.
Hi Curmudgeon,
I'm very happy you stepped in to help us with that [control][alt][n]
keyboard shortcut to bring up Notepad++ for the cut and paste operation.
I learned a lot in that it works beautifully, assuming the Notepad++.lnk shortcut is in the places most people normal store it (e.g., in the StartMenu, which I normally keep quite empty but which had happened to have
a Notepad++.lnk shortcut - probably due to an update or whatever).
So I suggest you post this to a windows scripting NG
or try something yourself;
While I've coded when I've needed to, I don't like the way they all do the same thing with different syntax, which I have no patience for nowadays.
Thanks for your help.
I usually see you when I'm lurking over on the a.u.e newsgroup.
bill <bill@spam.invalid> wrote:
What I was hoping was that I wasn't the first person to want Dialog to edit >> in any given editor (whether that's vim or notepad++ or emacs or atom, etc).
That would require an add-on, extension, or plug-in interface where you could, for example, use a plug-in to call an external program. Dialog
was discontinued back in 2002 with a slight update in 2005. It is abandonware, so what it had then is what it still has and will continue
to only have. I use it, it's a good NNTP client, scripts made it configurable, but it's been long dead.
I don't know if the source code is available.
The site for the scripts
disappeared, so probably the source code vaporized, too.
From BernD's
mention, and from the scripts you can add to Dialog, looks like Dialog
was written using Delphi (aka Object Pascal).
What is all this text-mode editing that Dialog's own compose window
won't handle? Doesn't sound like your doing HTML, but just text.
I just can't see why you need Notepad++ when all you need is a very
basic text editor for text-only messages composed in and sent by Dialog. Maybe I missed that part. Seems a lot of work to throw a monster text
editor at a simple job; i.e., swatting a fly with a cannon.
Many scripts are available here, but the descriptions are in German
only: <https://www.barghahn-online.de/4td_tb_scripts/index.php>
If you hold down CTRL+SHIFT while tapping the key, the
shortcut becomes CTRL+SHIFT+(key).
Nonetheless, what's odd is that I can't be the first person to want the newsreader to bring up an editor of choice, so I'll keep looking to see if there's a dialog script somewhere to bring up "editor1" that I can repurpose to bring up "editor2."
I'll let you know when or if I find it.
http://web.archive.org/web/20120127150159/http://dialog.datalist.org/scripts/ScriptSaveOutboundMessage.html
To cite his final note:
| Obviously any other external program can be used as well.
[...]http://web.archive.org/web/20120127150159/http://dialog.datalist.org/scripts/ScriptSaveOutboundMessage.html
After changing the program below from "korrnews" to "notepad++",
since I already have an OnBeforeSendingMessage script, do I just
concatenate this after the existing OnBeforeSendingMessage script?
After changing the program below from "korrnews" to "notepad++",
since I already have an OnBeforeSendingMessage script, do I just
concatenate this after the existing OnBeforeSendingMessage script?
In theory: You mix both scripts into one and order the commands in
a logical way during that mixing.
Having the right commands at hands isn't even half of it. Placing
such a call to an external editor in OnBeforeSendingMessage cries
out for problems. You'd need to hit <Send> inside the 40tude Compose
window before even beginning with editing.
You sure could add a
return value of failure to this script, which would bring you back
to the editor.
If you do not return, but send unconditionally, you
loose the ability to cancel a post. Of course, you can add another
inquiry ("Send or not?") to the script. But this would, again, just
increase complexity.
Sometimes, you may wish just to send a message without the detour
to Notepad++. Permitting this, requires additional code. As would
returning from Notepad++, cancelling the send, changing a bit within
the 40tude Compose window and /then/ send.
Because 40tude assigns charsets on-the-fly, your saved intermediate
text file could have /any/ encoding. After loading the text inside
Notepad++, you may need to adjust the encoding to avoid the creation
of mixed-encoding texts.
It wasn't by accident, that I initially recommended to /not/ pursue
the approach of calling an external editor by 40tude Dialog script.
And I /still/ strongly advise you, to leave this matter be...
FileExecute(0,'C:\program files\notepad++\notepad++.exe','open','"C:\temp\dialog.txt"','',1,50000);
[...]You sure could add a return value of failure to this script, which would
bring you back to the editor.
No matter _where_ I put the return value of false it errors with:
"Posting article failed: Posting canceled by "OnBeforeSendingMessage" script."
Because 40tude assigns charsets on-the-fly, your saved intermediate
text file could have /any/ encoding. After loading the text inside
Notepad++, you may need to adjust the encoding to avoid the creation
of mixed-encoding texts.
That's the entire reason why I use notepad++ in the first place!
(Notepad++ has a macro to fix all inconsistent character encoding.)
I can't for the life of me figure out how to _combine_ two OnBeforeSendingMessage scripts (I've tried every syntax guess
I could figure out and they all fail).
How do you get _TWO_ OnBeforeSendingMessage procedures to work sequentially?
On Wed, 11 Aug 2021 06:05:21 +0200, Bernd Rose wrote:
It is possible per script [...]. But the whole process would
be somewhat difficult to implement and probably not seem seamless
enough for a good usage experience.
I'm not a script writer so unless the script exists (or a similar modifiable script exists)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:34:25 |
Calls: | 6,642 |
Calls today: | 2 |
Files: | 12,190 |
Messages: | 5,326,211 |