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: 1554
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: 1554
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: 1554
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
Post Reply