TCAkelPad Lister plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-06, 16:24 UTC
truepatch wrote: 2024-06-06, 15:30 UTC 2) Exiting from Listen via Esc key works, but it takes too long, almost 2 seconds :(
If run it without Listen, the exit is instantaneous.
A new version of the plugin 1.11 will be released soon. Perhaps the described glitches will disappear there. I have now tested your questions. Everything is working correctly for me. If you have any questions, please let me know.
Long-term output may also be associated with the use of some AkelPad plugins. Some plugins cause glitches and crashes.
Please test it with the AkelPad ini files I attached.
I find problem freezing exit:

Code: Select all

AkelPadL.ini
[Plugs]
; Quick exit with my panels, scripts
Scripts::Main=65536
ContextMenu::Main=65536
ToolBar::Main=65536
SpecialChar::Main=65536
Coder::CodeFold=65536
Coder::HighLight=65536

; Slow exit if use any below
LineBoard::Main=65536
SmartSel::NoSelEOL=65536
SmartSel::SmartHome=65536
SmartSel::SmartUpDown=65536
SmartSel::SmartBackspace=65536
Sounds::Main=65536
Speech::Main=65536
It is necessary to apply the same operations for any plugins as for fast plugins, exactly there will be no freezing.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-07, 03:36 UTC I find problem freezing exit:

; Slow exit if use any below
LineBoard::Main=65536
SmartSel::NoSelEOL=65536
SmartSel::SmartHome=65536
SmartSel::SmartUpDown=65536
SmartSel::SmartBackspace=65536
Sounds::Main=65536
Speech::Main=65536

It is necessary to apply the same operations for any plugins as for fast plugins, exactly there will be no freezing.
Yes, look in my ini files to see which AkelPad plugins work normally with the plugin.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

You didn't explain about Ctrl+Alt+T. Whose hotkey is this? Apparently this is your hotkey?
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-07, 04:49 UTC You didn't explain about Ctrl+Alt+T. Whose hotkey is this? Apparently this is your hotkey?
I answered
viewtopic.php?p=456128#p456128
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-07, 04:47 UTC
truepatch wrote: 2024-06-07, 03:36 UTC I find problem freezing exit:

; Slow exit if use any below
LineBoard::Main=65536
SmartSel::NoSelEOL=65536
SmartSel::SmartHome=65536
SmartSel::SmartUpDown=65536
SmartSel::SmartBackspace=65536
Sounds::Main=65536
Speech::Main=65536

It is necessary to apply the same operations for any plugins as for fast plugins, exactly there will be no freezing.
Yes, look in my ini files to see which AkelPad plugins work normally with the plugin.
I used your ini files, all your latest builds.
Please make it so that any plugins can be either processed or skipped so that there would be no freezes.
Any new plugin if added to the ini it slows down the output from Listen.
Without Listen everything works quickly. Leave it to the user to customize their own AkelPadL.ini.

Scripts don't slow down, forms don't slow down, new plugin or panel functionality is displayed in Listen, but only application exit slows down.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-07, 05:31 UTC I answered
Sorry, I looked it up.
truepatch wrote: 2024-06-07, 01:28 UTC I apologize a bit mixed up, I assigned it to "Ctrl + Shift + T",
I thought so. Of course, I can’t do anything with user-assigned hotkeys. Only with standard ones.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-07, 05:40 UTC Please make it so that any plugins can be either processed or skipped so that there would be no freezes.
You should ask the author of AkelPad for this. I do not change the code of the AkelPad program and its plugins. To use them fully, press F4 :)
truepatch wrote: 2024-06-07, 05:40 UTC Leave it to the user to customize their own AkelPadL.ini.
The user can configure viewing modes at his own discretion. But we need to take into account the possibilities of collaboration between AkelPad and my plugin.
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-07, 07:07 UTC
truepatch wrote: 2024-06-07, 05:40 UTC Please make it so that any plugins can be either processed or skipped so that there would be no freezes.
You should ask the author of AkelPad for this. I do not change the code of the AkelPad program and its plugins. To use them fully, press F4 :)
truepatch wrote: 2024-06-07, 05:40 UTC Leave it to the user to customize their own AkelPadL.ini.
The user can configure viewing modes at his own discretion. But we need to take into account the possibilities of collaboration between AkelPad and my plugin.
And what is the difficulty, can't unknown plugins follow the same processing cycle as already adapted plug-ins, but do not apply any operations to them?

While reading a sheet, the user for example wants to see the line numbering (LineBoard.ini), the plugin settings data will get into AkelPadL.ini, and it will start to slow down again. Or he will want to listen to a speaker reading, and again the same problem.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-07, 11:23 UTC And what is the difficulty, can't unknown plugins follow the same processing cycle as already adapted plug-ins, but do not apply any operations to them?
I haven't adapted anything for my plugin. AkelPad plugins either work with it or they don't. The reason can only be found out from the author. I can't influence this in any way.
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-07, 13:01 UTC
truepatch wrote: 2024-06-07, 11:23 UTC And what is the difficulty, can't unknown plugins follow the same processing cycle as already adapted plug-ins, but do not apply any operations to them?
I haven't adapted anything for my plugin. AkelPad plugins either work with it or they don't. The reason can only be found out from the author. I can't influence this in any way.
"AkelPad does not receive WM_CLOSE, so plugins are not unloaded correctly."

This was written by the developer of AkelPad.
Send this code to the editor after you have processed your plugins.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-11, 05:14 UTC "AkelPad does not receive WM_CLOSE, so plugins are not unloaded correctly."
I saw this post because I also asked the author about the problem with plugins. All that remains is to understand why some plugins receive the message and others do not. And what does my plugin have to do with it? If the message had not been received by the AkelPad program, it would not have closed. I'm currently working on a new version of the plugin. I'll check this information.
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-11, 06:40 UTC
truepatch wrote: 2024-06-11, 05:14 UTC "AkelPad does not receive WM_CLOSE, so plugins are not unloaded correctly."
I saw this post because I also asked the author about the problem with plugins. All that remains is to understand why some plugins receive the message and others do not. And what does my plugin have to do with it? If the message had not been received by the AkelPad program, it would not have closed. I'm currently working on a new version of the plugin. I'll check this information.
I think it is necessary to choice all loaded plugins and in a loop send them this message WM_CLOSE, without waiting for a response from plugins.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-11, 07:12 UTC I think it is necessary to choice all loaded plugins and in a loop send them this message WM_CLOSE, without waiting for a response from plugins.
Plugins are managed by AkelPad. My plugin can't manage them.
AkulaBig
Senior Member
Senior Member
Posts: 392
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-06-11, 07:12 UTC send them this message WM_CLOSE
I tried directly sending a message to AkelPad. Indeed, the brakes have disappeared. All that remains is to figure out how to send a message from the Lister window when it has focus.
truepatch
Junior Member
Junior Member
Posts: 9
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-06-12, 08:21 UTC
truepatch wrote: 2024-06-11, 07:12 UTC send them this message WM_CLOSE
I tried directly sending a message to AkelPad. Indeed, the brakes have disappeared. All that remains is to figure out how to send a message from the Lister window when it has focus.
Just monitor this command and send WM_CLOSE to the process that called Command(4109). Regardless of the focus, since the script can execute to start a new AkelPad process and the old one is already sent to close.

Code: Select all

//Script restart.js or AkelPadRestart.js
AkelPad.Command(4109); // Exit
Post Reply