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
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-05-14, 13:03 UTC

I meant to use the already compiled version posted by hi5; like I said, I don't know Autohotkey and its syntax (at the moment I have no time to dedicate to it) and therefore even less how to compile.

I'll be staying with F4Menu.


Many thanks for your time and effort.

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

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

Post by *Ovg » 2019-05-14, 16:30 UTC

I can compile new exe for you if you wish ...
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: 172
Joined: 2012-11-03, 11:35 UTC
Contact:

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

Post by *hi5 » 2019-05-14, 21:36 UTC

Just adding a WinWaitClose at https://github.com/hi5/F4MiniMenu/blob/master/F4MiniMenu.ahk#L110 probably works just as well :-)

Code: Select all

; End of Auto-execute section
WinWaitClose, ahk_class TTOTAL_CMD
	ExitApp
Return
:D
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: 593
Joined: 2014-01-06, 16:26 UTC
Location: MOW

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

Post by *Ovg » 2019-05-15, 03:11 UTC

2hi5
For me working like a charm! Thanks!!! :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-05-15, 08:36 UTC

Ovg wrote:
2019-05-14, 16:30 UTC
I can compile new exe for you if you wish ...
Thank you, but I hope it's not too much trouble.

There's no rush. Take all the time you need and do it when you feel like it.

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

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

Post by *Ovg » 2019-05-15, 12:36 UTC

I assume that you use F4MiniMenu.exe and your settings file is F4MiniMenu.xml - Am I right?

https://yadi.sk/d/HsbCW0Zsr4vrIw - x86
https://yadi.sk/d/1LwZnHQH4Ea2Lg - x64
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-05-15, 15:25 UTC

Ovg wrote:
2019-05-15, 12:36 UTC
I assume that you use F4MiniMenu.exe and your settings file is F4MiniMenu.xml - Am I right?
I'll do that.
I really appreciated :D . Many thanks

Best regards.

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

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

Post by *hi5 » 2019-05-16, 17:37 UTC

@Axis is there anything in particular that appeals to you in F4MiniMenu compared to F4Menu? (Just curious)

Suggestions welcome :)
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-05-17, 07:24 UTC

hi5 wrote:
2019-05-16, 17:37 UTC
@Axis is there anything in particular that appeals to you in F4MiniMenu compared to F4Menu? (Just curious)

Suggestions welcome :)
Hi hi5.

For now, I haven't looked at it (very busy), maybe this weekend.

I'll let you know any suggestions after I play around with it for a bit.

Only a mega-noob question :oops: : should I enter F4MiniMenu.exe in Configuration --> Edit/View --> "Editor for F4" (To get it started with the F4 key), right?

Thankkks

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-05-18, 12:40 UTC

Hi, it's always me :shock:

I'm trying to create a well-formed F4MiniMenu.xml file with hi5's compiled version and then I'll try to pass on OVG's.

Two questions: F4MiniMenu.exe (hi5's) is not automatically launched when the total commander is opened, right? If yes, I'm first forced to start F4MiniMenu.exe which will then launch TC (option "Start Total Commander if not Running"), right?


Thanks

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

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

Post by *Ovg » 2019-05-18, 13:53 UTC

Axis wrote:
2019-05-17, 07:24 UTC
Only a mega-noob question :oops: : should I enter F4MiniMenu.exe in Configuration --> Edit/View --> "Editor for F4" (To get it started with the F4 key), right?
No.
Axis wrote:
2019-05-18, 12:40 UTC
Two questions: F4MiniMenu.exe (hi5's) is not automatically launched when the total commander is opened, right? If yes, I'm first forced to start F4MiniMenu.exe which will then launch TC (option "Start Total Commander if not Running"), right?
1. Yes
2. Yes

Try http://totalcmd.net/plugring/autorun.html - this plugin gives ability to run any program when TC is started

You should place line

Code: Select all

ShellExec "drive:\Path\F4MiniMenu.exe"
into autorun.cfg file

Change drive:\path to your actual path to F4MiniMenu.exe
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-05-18, 19:21 UTC

Ok, thankkkkks :)

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-05-19, 16:25 UTC

Hello folks :)

A little curious thing that I found.

Total commander 8.52 x64's process is running on my system (win8.1 pro x64).

In the meantime, if I start "F4MiniMenu.exe" (hi5's, located in c://TotalCommander9.22a/utils ) with Its "Start Total Commander if not Running" option enabled and TC Path with " c://TotalCommander9.22a/totalcmd64.exe ", totalcmd64.exe doesn't start. It works if Total commander 8.52's process is not running.

Thanks

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

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

Post by *Ovg » 2019-05-19, 16:59 UTC

1. Only the name of the process is considered. The path in this case is not taken into account.
2. You can't have two instances of the F4MiniMenu at the same time.
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-05-19, 18:44 UTC

Ovg wrote:
2019-05-19, 16:59 UTC
1. Only the name of the process is considered. The path in this case is not taken into account.
Ah, ok :cry:
Ovg wrote:
2019-05-19, 16:59 UTC
2. You can't have two instances of the F4MiniMenu at the same time.
F4MiniMenu.exe's istance is always only one (Its "tc path" is always only c://TotalCommander9.22a/totalcmd64.exe).

Thanks

Post Reply