F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline (XYPlorer, Everything, Explorer, Double Commander)
Moderators: Hacker, petermad, Stefan2, white
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
@Axis so you would prefer to ALWAYS start a new instance of TC when you start F4MiniMenu?
I could make the checkbox in the settings a dropdown menu:
1. Do not start Total Commander (default)
2. Start Total Commander if not Running
3. Always start Total Commander
I could make the checkbox in the settings a dropdown menu:
1. Do not start Total Commander (default)
2. Start Total Commander if not Running
3. Always start Total Commander
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
I mean (maybe an option) always start the TC's executive file (e.g. totalcmd64.exe) indicated in F4MiniMenu's"TC Path".hi5 wrote: 2019-05-26, 10:00 UTC @Axis so you would prefer to ALWAYS start a new instance of TC when you start F4MiniMenu?
It would seem ideal (if it's not too much trouble)hi5 wrote: 2019-05-26, 10:00 UTCI could make the checkbox in the settings a dropdown menu:
1. Do not start Total Commander (default)
2. Start Total Commander if not Running
3. Always start Total Commander

Thanks
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
OK I've started working on it - sneak preview https://github.com/hi5/F4MiniMenu/issues/22#issue-448973199
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
There is also the option "Start TC even if It's running (set TC Path)", right?hi5 wrote: 2019-05-27, 19:36 UTC sneak preview https://github.com/hi5/F4MiniMenu/issues/22#issue-448973199
("if It's running" is related to the process from another tc1.exe file, not from tc2.exe that inserted in the TC Path; see the example in my prev post)
A suggestion (if ever possible

It would be possible to insert in the menu (ESC-F4) only the editors (or make a submenu) related to the extension of the file selected in the TC?
Example:
F4MiniMenu Editor Settings
-------------------------------------------------------------------------
__Program ______________________ Extensions___
C:\Program-01 ___________________ png,jpeg
C:\Program-02 ___________________ txt,xml,rtf,html
C:\Program-03 ___________________ ai
C:\Program-04 ___________________ html
C:\Program-05 ___________________ exe,dll,com
C:\Program-06 ___________________ mobi,epub
C:\Program-07 ___________________ exe,dll,com
< ... > __________________________ < ... >
< ... > __________________________ < ... >
< ... > __________________________ < ... >
-------------------------------------------------------------------------
Now if I select a library file (.dll) in TC, the menu (ESC-F4) should list only the Program-05 and Program-07

Thanks
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Yes, that would be possible (I have to make it of course) - it is on the suggestion list here #21 - Filtered menu vs foreground entire menu. I'll work on that after the features mentioned above.Axis wrote: 2019-05-28, 05:33 UTCA suggestion (if ever possible): ... only the editors (or make a submenu) related to the extension of the file selected in the TC?
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
The available options are/will be:Axis wrote: 2019-05-28, 05:33 UTCThere is also the option "Start TC even if It's running (set TC Path)", right?
("if It's running" is related to the process from another tc1.exe file, not from tc2.exe that inserted in the TC Path; see the example in my prev post)
1 - Do not start TC (default) <- this is what the current checkbox does if unchecked
2 - Start TC if not Running (set TC Path) <- this is what the current checkbox does if checked
3 - Always start TC (set TC Path) <- the new option
For 2 & 3 it will use whatever is set in "TC Path" - doesn't have to be TC, could be notepad.exe

What 2 won't do is check which version of TC is running and launch the TC path "exe". I think that is such a rare use case I will not consider it. No doubt you have a use case for running two versions of TC but I can't think of one myself.
Alternatives:
- as I mentioned, it can be any program so you can also start a batch file, in that batch file you can start as many programs as you like.
- what I might consider is allow several programs to be started via "TC path", separated by a |. Say you would like to launch both 32 and 64bit versions of TC at the same time, you'd enter "c:\totalcmd\TOTALCMD.EXE|c:\totalcmd\TOTALCMD64.EXE" and it would run both of these programs. Would that work for you?
- you can write a small AutoHotkey (or other script) that checks which program is already running and based on that run something else e.g. it sees TC 32bit, it launches 64bit or older version of TC. You can compile such a script to an EXE which would read data from an ini file for example.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Number 3 to me is very goodhi5 wrote: 2019-05-28, 17:56 UTC The available options are/will be:
1 - Do not start TC (default) <- this is what the current checkbox does if unchecked
2 - Start TC if not Running (set TC Path) <- this is what the current checkbox does if checked
3 - Always start TC (set TC Path) <- the new option
For 2 & 3 it will use whatever is set in "TC Path" - doesn't have to be TC, could be notepad.exe![]()

Thankks
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
OK, will be ready this weekend I think 

F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
v0.96 - https://github.com/hi5/F4MiniMenu/
- Added options to "Total Commander" startup settings on request https://www.ghisler.ch/board/viewtopic.php?p=355595#p355595 (always start, close F4MiniMenu)
- dpi + fix to avoid Gui error when calling New editor from menu while Browse Gui was active.
- tray menu: icons, right click opens tray menu, added "Open" to check keyhistory etc
Last edited by hi5 on 2019-06-06, 19:48 UTC, edited 1 time in total.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Thanks a lot hi5



Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Hi, hi5
Close F4MiniMenu on exit from TC doesn't work. It seems that this setting not present in ini file even after saving ....

Close F4MiniMenu on exit from TC doesn't work. It seems that this setting not present in ini file even after saving ....
Last edited by Ovg on 2019-06-07, 04:34 UTC, edited 1 time in total.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Ah yes, INI, never use it so always forget about it
thanks for reporting it.
v0.96.1 - Fix: adding close F4MiniMenu setting to INI version (iob.ahk) - fingers crossed
Source: https://github.com/hi5/F4MiniMenu/
Compiled versions: https://github.com/hi5/F4MiniMenu/releases/

v0.96.1 - Fix: adding close F4MiniMenu setting to INI version (iob.ahk) - fingers crossed

Source: https://github.com/hi5/F4MiniMenu/
Compiled versions: https://github.com/hi5/F4MiniMenu/releases/
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
Thank you, I'll check later! 

It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
2hi5
Hi! How this fix it?
Hi! How this fix it?
Code: Select all
Error: Can't load icon.
Specifically: Suspend Hotkeys
Line#
---> 055: Menu,tray,Icon,&Suspend Hotkeys,%A_AhkPath%,3
The current thread will exit.
Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline
2hi5
Working like a charm! Maaaany Thanks!!!

Working like a charm! Maaaany Thanks!!!




It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64