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: sheep, Hacker, Stefan2, white

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

Post by *Ovg » 2016-10-29, 04:29 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *Ovg » 2016-11-02, 10:14 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *hi5 » 2016-11-02, 15:59 UTC

@Ovg: you're right I can reproduce it here, I'll look into it.
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

Roo
Junior Member
Junior Member
Posts: 6
Joined: 2013-05-31, 17:48 UTC

Post by *Roo » 2016-12-10, 01:26 UTC

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
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 » 2016-12-10, 10:20 UTC

@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
Member
Member
Posts: 173
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 » 2016-12-31, 10:17 UTC

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 - 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: 598
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Post by *Ovg » 2016-12-31, 10:40 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *Ovg » 2016-12-31, 12:45 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *hi5 » 2016-12-31, 13:11 UTC

@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 - 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: 598
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Post by *Ovg » 2016-12-31, 13:36 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *hi5 » 2017-01-05, 17:44 UTC

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 - 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:

Post by *hi5 » 2017-01-14, 12:49 UTC

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 - 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: 598
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Post by *Ovg » 2017-01-14, 16:37 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Post by *hi5 » 2017-01-14, 22:48 UTC

@Ovg and thank you for your feedback and suggestions :-)

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

Post by *hi5 » 2017-06-10, 07:40 UTC

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 - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread

Post Reply