petermad wrote: 2022-05-25, 23:27 UTC
Support++ It is fine with me that i can only launch the configured editor for F4 - that's what I would nedd 99% of the time.
Support++
That would also be sufficient for me. It would be nice to decide whether lister shall be closed or stay open once the editor is launched.
petermad wrote: 2022-05-25, 23:27 UTC
Support++ It is fine with me that i can only launch the configured editor for F4 - that's what I would nedd 99% of the time.
Support++
That would also be sufficient for me. It would be nice to decide whether lister shall be closed or stay open once the editor is launched.
If Lister is left open may give problems as the plugin may not be able to update its display
with the new content changed by the editor.
For this reason my AHK script closes the Lister when the editor is launched.
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
Horst.Epp wrote: 2022-05-26, 08:46 UTC
If Lister is left open may give problems as the plugin may not be able to update its display
with the new content changed by the editor.
In fact, that could even be intended (to still see the previous version while editing).
However, I would also prefer to have lister closed when opening the editor.
; Open AkelPad on F4 in Lister window.m
#IfWinActive,ahk_class TLister
f4::
WinGetTitle,title
left := InStr(title, "[") + 1
right := InStr(title, "]") - left
StringMid, path, title, left, right
WinClose
Run,C:\Tools\AkelPad\AkelPad.exe %path%,
WinActivate,ahk_class Akelpad
return
This also fails for files with [ ] in names for example:
jinsight wrote: 2022-08-21, 18:34 UTC
Re AppLoader
After opening a Lister window with F3, how do you configure AppLoader to be able to then hit F4 and open the default editor?
Thanks. Any help appreciated.
AppLoader has no such function inside of a Lister window.
Use the AHK script from this thread and you have the function you want.
You can modify it to load Apploader instead of a Editor.
This way the normal logic of AppLoader will work.
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
jinsight wrote: 2022-08-21, 18:34 UTCAfter opening a Lister window with F3, how do you configure AppLoader to be able to then hit F4 and open the default editor?
You won't open the default editor. But you can set up associations in [Editor] section in AppLoader.ini that will completely duplicate these calls. Or you can associate the opening with extensions settings of an external viewer in TC (Alt+F3 by default) if you set UseTCExtensions=1. See ReadMe, everything is described in detail there.
To call Apploder by F4 from Lister, the following values must be set:
Your AHK script works well with file names with no spaces. It fails with file names with words separated by a space. It then wants to open a file with only the first word in it which does not exist.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Your AHK script works well with file names with no spaces. It fails with file names with words separated by a space. It then wants to open a file with only the first word in it which does not exist.
No that doesn't happen here !
I have may files with spaces in its name and they all work.
Please note that I have applied the suggestion from hi5 from above.
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