F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Ovg
Power Member
Power Member
Posts: 597
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *Ovg » 2019-06-07, 15:57 UTC

2lisabon
Small bug for compiled version and when AHK isn't installed
Last edited by Ovg on 2019-06-07, 16:19 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 9.21a x64, Windows 7 SP1 x64

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-06-07, 16:17 UTC

@ovg thanks and you're welcome :)
@lisabon try:

v0.96.2 - Fix: adding Try to all Menu, tray, icons to avoid startup error for compiled scripts and autohotkey.exe is not installed.

Source: https://github.com/hi5/F4MiniMenu/
Compiled versions: https://github.com/hi5/F4MiniMenu/releases/
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-06-07, 19:06 UTC

Experimental version (compiled only for testing) to only show programs that match the extension(s) of the selected files here:
https://github.com/hi5/F4MiniMenu/issues/21#issuecomment-500001594

Close your currently running copy of F4MiniMenu (of course), launch the exe, if you press ESC+F1 it should show a filtered menu, so if you have selected a PDF and a PNG it should only show programs where you've defined PDF and PNG as valid extensions. It will always show the default editor.

In the menu there are [numbers] at the end of each entry - that is actually necessary to be able to figure out which program was selected
(long story but this is easy and other methods will be convoluted, error prone and probably not worth the hassle - the numbers don't bother me)

Feedback welcome
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

User avatar
Ovg
Power Member
Power Member
Posts: 597
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *Ovg » 2019-06-08, 17:40 UTC

2hi5
Good idea, but it would be nice to get rid of these numbers .....
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 9.21a x64, Windows 7 SP1 x64

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-06-08, 19:39 UTC

F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

User avatar
Ovg
Power Member
Power Member
Posts: 597
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *Ovg » 2019-06-09, 14:09 UTC

2hi5
Great! Thank you so much! I'm very grateful. :D :D :D
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 9.21a x64, Windows 7 SP1 x64

Axis
Junior Member
Junior Member
Posts: 58
Joined: 2015-07-14, 18:53 UTC

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *Axis » 2019-06-10, 12:54 UTC

hi5 wrote:
2019-06-08, 19:39 UTC
@Ovg as you wish - try version 3 here https://github.com/hi5/F4MiniMenu/issues/21#issuecomment-500001594 :wink:
Hi hi5. :D

The filtered menu seems to work fine (testing version 3).

The script closes ONLY after EACH instance of TC has been closed (so not just the TC instance/file that the same script launched from "TC Path"): I have to close all instances of TC in memory.


Thanks

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-06-10, 14:19 UTC

Nice to hear the filtered menu seems to be working well - I'll use it at work for a while, if it works I'll make it a new release.

@Axis try number four https://github.com/hi5/F4MiniMenu/issues/21 - in settings there are now two "close" checkboxes, the second one should do what you want and only close the TC that was started by F4MM "Close F4MM (Starting TC only, experimental)"
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

Axis
Junior Member
Junior Member
Posts: 58
Joined: 2015-07-14, 18:53 UTC

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *Axis » 2019-06-10, 14:49 UTC

hi5 wrote:
2019-06-10, 14:19 UTC
in settings there are now two "close" checkboxes, the second one should do what you want and only close the TC that was started by F4MM "Close F4MM (Starting TC only, experimental)"
Number four: It works!! (selected "Close F4MM (Starting TC only, experimental)" only)

Many thanks :D

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-06-15, 09:56 UTC

Test version 5 https://github.com/hi5/F4MiniMenu/issues/21

* Show full menu if there are no matching editors for the ext.
* Always show shortcut to full menu + option to set accelerator key (settings)
* Fix to prevent empty entries in menu after using Configure Editors/add new editor
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

hi5
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline

Post by *hi5 » 2019-07-03, 18:02 UTC

v0.97 - released https://github.com/hi5/F4MiniMenu

a) New: option for filtered foreground menu: only show programs that match selected extensions. See Settings for setup. https://github.com/hi5/F4MiniMenu/issues/21
b) Fix: correctly use %commander_path% in Editor listview IL_Add routine (if v.Icon isn't set)
c) Fix: Editor - Set as Default should now work correctly
d) Fix: Editor - cancel should now work more reliably by using .clone()
e) Only save settings when actually changing them e.g. no longer at each start/exit of the script
f) New: Option(s) to Close F4MiniMenu when TC closes

Compiled: https://github.com/hi5/F4MiniMenu/releases
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

Post Reply