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: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

I found little bug 1.12, last build AkelPadAspell (r4449) from dropbox.
Use single original file AkelPadL.ini --> AkelPad.ini, (AkePadL.ini, AkelPadQ.ini removed).
Default settings:
SingleOpenFile=0
SingleOpenProgram=1

SDI
1) Not work 'N' and 'P' keys or I don't understand how to use them.
The screen flashes, but the next or previous file in the same directory is not read.

2) If you enter edit mode F4 and exit edit mode again, keys 1...8 stop working.

MDI
Usually not work 1...8, F4
Sometimes it works change next plugin --> return AkelPad --> F4 work
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

Everything is described in the readme. When the focus is in Lister, keys 1..8, N, P work. When the focus is in AkelPad, naturally these keys do not work. Switch between Lister and AkelPad using Ctrl + Tab keys.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-07-31, 10:21 UTC When the focus is in AkelPad, naturally these keys do not work. Switch between Lister and AkelPad using Ctrl + Tab keys.
Isn't it easier in read mode not to stop the Event KeyPress transfer from AkelPad to Lister? It would be easier not to poke Ctrl-Tab keys, so that would work intuitively. Other plugins seem to do exactly that.
Last edited by truepatch on 2024-08-04, 08:58 UTC, edited 1 time in total.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

After closing the AkelPad application instance, Lister continues to hang and does nothing, it should close because the application has stopped working with the file.

Image: https://i.imgur.com/G4HLynm.png
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

You cannot close AkelPad separately from Lister. Therefore, the standard exit from AkelPad is blocked. Accordingly, you cannot use any external tools to close AkelPad.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

I managed to make Lister unload by emulating the Esc key

Code: Select all

"выход без восстановления последней сессии" Call("Scripts::Main", 1, "EvalCmd.vbs", `"AkelPad.Command(4319) : AkelPad.Command(4109) : AkelPad.Exec(''%a\AkelFiles\Tools\NirCmd\NirCmd.exe sendkeypress esc'')"`) Icon("%a\AkelFiles\ico\Exit.ico")
But it doesn't help on restart :evil:

Code: Select all

"Restart AkelPad" Call("Scripts::Main", 1, "EvalCmd.js", `AkelPad.Exec("%a\AkelFiles\Tools\NirCmd\NirCmd.exe sendkeypress esc"); AkelPad.Call("Scripts::Main", 1, "AkelPadRestart_new.js");`)  Icon("%a\AkelFiles\ico\restart.ico")
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-08-08, 17:57 UTC I managed to make Lister unload by emulating the Esc key
I don't understand what you want to get. The lister is already closed by Esc.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-08-09, 04:00 UTC I don't understand what you want to get. The lister is already closed by Esc.
I need to close Lister. It will still work as a separate window if I use any command via the button.

Lister will be closed.

Code: Select all

"выход без восстановления последней сессии" Call("Scripts::Main", 1, "EvalCmd.vbs", `"AkelPad.Command(4319) : AkelPad.Command(4109) : AkelPad.Exec(''%a\AkelFiles\Tools\NirCmd\NirCmd.exe sendkeypress esc'')"`) Icon("%a\AkelFiles\ico\Exit.ico")
Lister will not be closed, it will remain as a separate window with a black background.

Code: Select all

"Restart AkelPad" Call("Scripts::Main", 1, "EvalCmd.js", `AkelPad.Exec("%a\AkelFiles\Tools\NirCmd\NirCmd.exe sendkeypress esc"); AkelPad.Call("Scripts::Main", 1, "AkelPadRestart_new.js");`)  Icon("%a\AkelFiles\ico\restart.ico")
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-08-09, 06:25 UTC I need to close Lister. It will still work as a separate window if I use any command via the button.
Press Esc and Lister closes.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

AkulaBig wrote: 2024-08-09, 08:03 UTC Press Esc and Lister closes.
When using any restart scripts, you have to close 2 windows each time. I can't make an Esc press emulation and pass it to Lister.

Also Ctrl+Q doesn't work, even with default settings, TC hangs and becomes transparent, I have to kill TC process.

Can you do it? That was cool.
If there is no AkelPadL.ini, use AkelPad.ini
If there is no AkelPadQ.ini, use AkelPad.ini

akelpad.ini
AkelPadQDisable=1 //Disable AkelPad launch in QuickView, launch in Lister
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-08-09, 11:04 UTC When using any restart scripts, you have to close 2 windows each time.
Why do I need to restart AkelPad? Or what do you want to restart? I don't understand.
truepatch wrote: 2024-08-09, 11:04 UTC I can't make an Esc press emulation and pass it to Lister.
What is this for?
truepatch wrote: 2024-08-09, 11:04 UTC Also Ctrl+Q doesn't work, even with default settings, TC hangs and becomes transparent, I have to kill TC process.
Where does it not work? This hotkey works great in TC.
truepatch wrote: 2024-08-09, 11:04 UTC Can you do it? That was cool.
If there is no AkelPadL.ini, use AkelPad.ini
If there is no AkelPadQ.ini, use AkelPad.ini
If there are no AkelPadL.ini and AkelPadQ.ini files, then AkelPad.ini is used. What else do you want?
truepatch wrote: 2024-08-09, 11:04 UTC akelpad.ini
AkelPadQDisable=1 //Disable AkelPad launch in QuickView, launch in Lister
What is this? If you do not want to run the plugin in QuickView mode, press F3 on the file.
truepatch
Junior Member
Junior Member
Posts: 18
Joined: 2024-06-05, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *truepatch »

This default AkelPad.7z | AkelPad.WLX v1.14
AkulaBig wrote: 2024-08-09, 11:55 UTC Where does it not work? This hotkey works great in TC.
Video https://www.dropbox.com/scl/fi/lhs82au6mnxwu20119u1k/TOTALCMD64_pDwS09J9yt.mp4?rlkey=2wpyyd78tvmx512299jlosyrd&st=niybu1zt&dl=0
AkulaBig wrote: 2024-08-09, 11:55 UTC Why do I need to restart AkelPad? Or what do you want to restart? I don't understand.
How to programmatically close Lister from AkelPad scripts?
Video https://www.dropbox.com/scl/fi/97uo78uuqrvskfi1vyewl/TOTALCMD64_T9yxzirnnv.mp4?rlkey=0gj7ut7u1rihachiwxtvnbqz2&st=ivd2w3f9&dl=0

Exactly the same behavior in my build (so as not to look for scripts if you will testing the bug)
https://github.com/maksimaliabyshev/TCAkelPad-San_dr
Last edited by truepatch on 2024-08-09, 17:32 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TCAkelPad Lister plugin

Post by *Horst.Epp »

I don't have any problems with running TCAkelPad plugin while TC is restarted or stopped.
In all cases, the Lister / TCAkelpad windows are terminated and there is no hang.
So I don't understand the whole thread.

AkelPad.WLX internal viewer plugin v1.11
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

Horst.Epp wrote: 2024-08-09, 15:46 UTC AkelPad.WLX internal viewer plugin v1.11
Since then I've redesigned the plugin a lot. Therefore, some glitches appear periodically. But for some reason the user wants to restart AkelPad from the plugin. But it doesn’t explain to me why this is necessary. I’m trying to explain to him that this cannot be done and I forbade it to be done through standard functions. Why did he-
then it bypasses my ban through scripts and tries to convince me that this is a bug :)
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: TCAkelPad Lister plugin

Post by *AkulaBig »

truepatch wrote: 2024-08-09, 14:13 UTC Video
I confirm. There was a bug with Ctrl+Q.
truepatch wrote: 2024-08-09, 14:13 UTC Video
You absolutely do not want to answer me. Why do you need to reboot AkelPad?
truepatch wrote: 2024-08-09, 14:13 UTC if you will testing the bug
I already told you that you cannot restart AkelPad.
Post Reply