F4MiniMenu (AHK): F4Menu w. Drag&Drop, filelist, cmdline (XYPlorer, Everything, Explorer, Double Commander)

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

Moderators: white, Hacker, petermad, Stefan2

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

Post by *Ovg »

2hi5

1 & 3. Thank you for support and clarifications! it is useful!

2. At your discretion, if nobody complains more leave as is. I can live with this - my temp folder is cleaned automatically upon PC shutdown.

WBR, Ovg
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
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

I have found issue with WIN-F4 (when assigned to Bacground menu) - when I press WIN-F4 I get both action together - file is opened in appropriate editor and background menu also is working - I can open the same file in other editor.

ESC-F4 working fine.
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
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

@Ovg: you're right I can reproduce it here, I'll look into it.
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)
Roo
Junior Member
Junior Member
Posts: 6
Joined: 2013-05-31, 17:48 UTC

Post by *Roo »

Can it accept multiple files in the command line? For examplle, start Meld with

Code: Select all

meld file1 file2
(Sorry for posting on GitHub as well…)
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

@Roo no problem. Not directly, but see my response at GH for some alternate solutions for the time being.

Edit 12/12/16 - so I will be adding a 4th method (cmdline) and also Allow TC parameters in F4MM config (parameters, working dir) - further suggestions remain welcome of course (here or at GH)
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

For the adventurous there is a development branch available for v0.94 - https://github.com/hi5/F4MiniMenu/tree/dev-method4cmdline

It would be advised to back up you current version and settings before trying this or run this dev branch from a new folder just to be save.

:!: :arrow: INI users If you want to use the INI format format for storing your settings: F4MiniMenuI.ahk has been removed, you now need to copy/rename F4MiniMenu.ahk manually so the filename ends with an i - see the readme.md for details.

New
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)
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

hi5 wrote:[*] a) Added 4th method: cmdline -> program.exe file1 file2 file3 #14 https://github.com/hi5/F4MiniMenu/issues/14
[*] d) Now use %TEMP%\$$f4mtmplist$$.m3u instead of ScriptFolder - requested by Ovg - #16 https://github.com/hi5/F4MiniMenu/issues/16
[*] e) Fixed hotkeys - #12 https://github.com/hi5/F4MiniMenu/issues/12 🤞
[*] f) You can now specify an Icon and Menu name when you configure an Editor. #17 https://github.com/hi5/F4MiniMenu/issues/17
Dreams Come True! :D Sounds very interesting! I'll test ASAP! Thank you!
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
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2hi5
Icon and name of editor in Menu aren't saving in ini version of program. They disappear on program restart :( There are no parameters in ini file for them. XML version is working - those settings are saving.
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
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

@Ovg - good catch, the changes to IOB where missing from the development branch on GH - you can download the entire repo again or just this file:

https://raw.githubusercontent.com/hi5/F4MiniMenu/dev-method4cmdline/lib/iob.ahk

(place it in lib\iob.ahk and overwrite the file that is there)
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)
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2hi5
Thanks! It is working now! Excellent job!!!
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
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

Dev branch update to v0.94a
- Minor fix for launching via Drag&Drop which stopped working correctly in v0.94
- When entering a name you can now set your own "accelerator key" so you can enter "Note&pad plus plus" and have the letter p as "active" letter in the menu (by default it would just make the first letter of the executable name or entered name "active")

Download the zip here, you can overwrite your current (dev) files.
https://github.com/hi5/F4MiniMenu/tree/dev-method4cmdline
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)
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

Merged development branch into master, minor update to v0.94b to ensure the Commander_Path variable is not empty.

Clone or Download the Repo or ZIP from https://github.com/hi5/F4MiniMenu/ as usual.
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)
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2hi5
Thank you for your nice work!
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
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

@Ovg and thank you for your feedback and suggestions :-)
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

All related to the cmdline method:
v0.94c - Minor fix to prevent empty file and quoted startdir variables in GetInput(). Fix for %ComSpec% in Editor names (as in %comspec% /c)

Available as usual at https://github.com/hi5/F4MiniMenu
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)
Post Reply