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

Post Reply
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

Heh. Looks like I was able to fix that, too))))
Spoiler

Code: Select all

	 ClipboardSave:=ClipboardAll
	 Clipboard:=""
;SendMessage starting with "WM_User+50" WM_User=0x0400=1024+50 == 0x0432=1074
;( to send a number)
; WM_USER     = 1024
; WM_USER+50  = 1074
; WM_USER+51  = 1075 == 0x0433
;cm_CopyFullNamesToClip=2018;Copy names with full path
;cm_ClearAll=524;Unselect all (files+folders)
	 SendMessage 1075, 2018, 0, , ahk_class TTOTAL_CMD
	 ClipWait  ; Wait for the clipboard to contain text.
	 Files:=Clipboard
	 Clipboard:=ClipboardSave
	 ClipboardSave:=""
;	 PostMessage 1075, 524, 0, , ahk_class TTOTAL_CMD
Again some not particularly important - but still more useful comments have been added.
don't affect the code - but it was clearer "to read" these lines all the time.
Well, the point of the fix: Send not Post and ClipWait not Sleep
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

2hi5
Well, how are you? Did you manage to evaluate my edits and to class their possibility of introducing them to the utility's master code?
It seems that they do not break anything for other computers and repair my option of inoperability.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

Dear developer. Still, I would like to end this situation. In a positive way))
You've looked at the proposed code fix, haven't you? You don't have any questions for it/problems with it, do you?
Maybe then it is worth adding them to the final code of the utility? In order not to forget in subsequent product
improvements not get the same errors and not recompile locally again everything with my edits on my side...
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

*bump*
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

*bump*
#146217 personal license
User avatar
nsp
Power Member
Power Member
Posts: 1938
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

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

Post by *nsp »

@AnthonyD as you bumped multiple times without hi5 reaction:
Follow the Github standard.

The source code is available on github https://github.com/hi5/F4MiniMenu.
The best to provide fix is to :
  • use/create your github account
  • create a fork of https://github.com/hi5/F4MiniMenu
  • --> do suggested correction in ahk file <--
  • propose a pull request to make it easier to integrate.
hi5
Power Member
Power Member
Posts: 641
Joined: 2012-11-03, 11:35 UTC
Contact:

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

Post by *hi5 »

I'm revising the script but haven't found the time to wrap it up, the next release will also work with many more file managers such as Q-Dir, Altap Salamander, FreeCommander, MultiCommander, Dopus, Tabaclus + the user can add more as long as there is a keyboard shortcut to "copy full paths to clipboard" which for 9 out 10 apps is just Ctrl-C. This includes Everything (^+c as hotkey, can be changed in F4MM) to avoid problems where people have messed with the default listview order or using different versions of EV.
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
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

I just wanted to be heard and make sure my edits could be accepted - because without them on my laptop the script definitely didn't work. And with them, everything became stable. And it seems to me that these edits can definitely have a strictly positive effect not only in my case. I wish everything worked unambiguously for everyone))))
#146217 personal license
Post Reply