File search interaction between Total Commander and Everthing search engine

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
wetware05
Junior Member
Junior Member
Posts: 64
Joined: 2023-05-15, 16:10 UTC

File search interaction between Total Commander and Everthing search engine

Post by *wetware05 »

Hi.

I know that there are several utilities similar to the one I am sharing here (Listary, EverythingToolbar...), but I created this one for my needs (I use this script mainly to try to avoid downloading stuff from the internet multiple times (duplicate files), checking if it already exists on the computer), and because it can be called faster than others, while interacting, in a more intuitive way e effective, than other utilities with Total Commander. I use the script from the FastKeys manager (a program made by and for autohotkey scripts), so it doesn't even have to be resident.

As usual. Adapt the routes of the "Everything" and Total Commander programs for each person (lines 27, 32, 34, 163, 180). So where is the temporary file created from (line 26). It makes use of the es.exe utility, which is from Everything and is used to make it work from the command line https://www.voidtools.com/es-es/descargas/.

In "Everythig" you can create images of removable drives (example: Everything64.exe -create-file-list "myfilelist.efu" "k:\Temporary\"; can be saved in a .bat file, for multiple use , —you have to configure the program to search these files—). The script searches those drives, but warns if the drive is not connected.

On line 89 (now commented out so that it has no effect) there is an example, in case you want to restrict the search to certain directories.

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory
;EnvSet, SD, %A_ScriptDir%
#InstallKeybdHook
FileEncoding, CP65001

;__________________________________________________________________________________________________________________________

#SingleInstance, Off
;SetTimer, GuiClose, 30000

;__________________________________________________________________________________________________________________________


^!F5::

GetKeyState, state, Ctrl
if (state = "D") ; Hold down the "Ctrl" key if you want to clear the clipboard and pop up the search window.
 {
  ClipBoard:=""
 }
 Send, ^c  

OutFile = h:\File_Temp.txt ;Change the output file path if necessary. This file is not deleted until the next search.
App = d:\Utilidades\Everything\es.exe ;Change the path of the "Everything.exe" program if necessary.

;__________________________________________________________________________________________________________________________

DetectHiddenWindows, Off
if not WinExist("Everything64")
{
Run, d:\Utilidades\Everything\Everything64.exe -startup
}

;__________________________________________________________________________________________________________________________

If !Clipboard
 {
  Gosub, SearchGUI
 }
Else
 {
  TempClip:= Clipboard
  Gosub, Rutine
 }
Return

;__________________________________________________________________________________________________________________________

SearchGUI:
TempClip:=Clipboard
xposSearch:= Floor((A_ScreenWidth/2)-450)
yposSearch:= Floor((A_ScreenHeight/2)-200)
Gui, Search:+HwndGuiID +AlwaysOnTop
Gui, Search: Font, S9 Bold, Verdana
Gui, Search: Add, Edit, x10 y16 w230 h20 vMySearch, Enter your Search
Gui, Search: Add, Button, x250 y16 w65 h20 GSearch, Search
Gui, Search: Add, CheckBox, x10 y46 w130 h20 vRegEx, RegEx Search
Gui, Search: Add, Button, x250 y46 w65 h20 gCancel, Cancel
Gui, Search: Show, x%xposSearch% y%yposSearch% h80 w330, Search
Return

#If WinActive("ahk_id " GuiID)
Enter::
NumPadEnter::
Search:
Gui Search: Submit
TempClip:=MySearch
Gui Search: Destroy
Gosub, Rutine
Return

;__________________________________________________________________________________________________________________________

Rutine:
ResvClip:=TempClip
FileDelete, %OutFile%
;FileDelete, h:\File_Temp_Full.txt

If RegEx=1
 {
  RunWait, "%App%" -export-txt "%OutFile%" -r "%TempClip%",, Hide
 }
 Else
 {
  TempClip:= RegexReplace(TempClip, "[\[\]()\-\_\s+]", "*") ;Subtract or Add symbols within this replacement line of the text to find. Now replace the symbols: -_[]() and space with a wildcard.
  ;RunWait,  %comspec% /c chcp 65001 & "%App%" G:\mp3 ^| I:\Foundry ^| M:\Videos ^| F:\Document -export-txt "%OutFile%" "%TempClip%",, Hide ; ^| e:\Mp3\Recopilaciones\
  ;RunWait,  %comspec% /c chcp 65001 & "%App%" -export-txt "%OutFile%" "%TempClip%",, Hide
  RunWait, "%App%" -export-txt "%OutFile%" "%TempClip%",, Hide
 }

;FileRead, OutputEnd , %OutFile% ; *P850
FileRead, OutputEnd, % *P850 OutFile

If !OutputEnd
 {
 Gosub, NotFound
 }
Else
 { 
 Gosub, ListCl
 }
Return

;__________________________________________________________________________________________________________________________

NotFound:
MsgBox, 262144, %Clipboard%, The file does not exist on the computer. , 8
Return

;__________________________________________________________________________________________________________________________

Cancel:
Gui, Search: Destroy
Return

;__________________________________________________________________________________________________________________________

ListCl:
Gui, Control: Destroy
vOutput:=OutputEnd
Gui, Font, s12
Gui, Margin, 5, 5
Gui, -Caption +AlwaysOnTop
Gui, Add, Text, w290 h20 GuiMove, Search for: %ResvClip% ; - Search Results
Gui, Add, Button, x400 y5 w20 h20 gClose, X
Gui, Font, S10, Verdana Bold
Gui, Add, Button, x5 y516 w130 h20 gToList, Load List in TCM
Gui, Add, Button, x150 y516 w130 h20 gToBloc, Open in NotePad
Gui, Add, Button, x292 y516 w130 h20 gCopyClip, Copy to ClipBoard
Gui, Font, S14, Verdana Bold
Gui, Add, Listview, x5 y30 w416 r20 -hdr gMyLV, flnm|fllpth
for x,y in strsplit(vOutput,"`n", "`r")
	{
	splitpath,y,z	
	lv_Add("",z,y)
	} until (x = 30) ; 30 Results
LV_ModifyCol(1,380)
LV_ModifyCol(2,0)
Gui, Show
Return

;__________________________________________________________________________________________________________________________

CopyClip:
Clipboard:= OutputEnd
Return

ToBloc:
Run, %OutFile%
Return

;__________________________________________________________________________________________________________________________

MyLv:
LV_GetText(fllpth, A_EventInfo, 2) 
GetKeyState, state, Ctrl
if (state = "D")
 {
  SplitPath, fllpth, dir
  Run, d:\TC UP\Totalcmd64.exe /T /O /L="%fllpth%",, Hide  
 }
Else
  if not FileExist(fllpth)
   {
    SetTimer, WinMoveMsgBox, 50
    MsgBox,4096, Notice, The file is on an unconnected drive!
   }  
  Else
   {
    run, %fllpth%
   }
;}
Return


ToList:
Run, d:\TC UP\Totalcmd64.exe /O /T /S LOADLIST:h:\File_Temp.txt,, Hide
Return


;__________________________________________________________________________________________________________________________

ButtonOK:
LV_GetText(fllpth, LV_GetNext(0, "Focused"),2)
 if not FileExist(fllpth)
   {   
    SetTimer, WinMoveMsgBox, 50
    MsgBox,4096, Notice, The file is on an unconnected drive!
   }  
  Else
   {
    run, Explorer %fllpth%
   }
Return

;__________________________________________________________________________________________________________________________

;~Esc::
*Esc::
Close:
Gui, Destroy
Gui, Search: Destroy
Return

;__________________________________________________________________________________________________________________________

uiMove:
PostMessage, 0xA1, 2,,, A 
Return

;__________________________________________________________________________________________________________________________

WinMoveMsgBox:
  CoordMode, Mouse, Screen
  xMsg:= Round((A_ScreenWidth/2)-150)
  yMsg:= Round((A_ScreenHeight/2)-440)
  SetTimer, WinMoveMsgBox, OFF
  WinMove, Notice, , %xMsg%, %yMsg%  
Return
This other one has the changes to be used with FastKeys, since it does not have a keyboard shortcut, and the script closes when it is used and when all its windows are closed.

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory
;EnvSet, SD, %A_ScriptDir%
#InstallKeybdHook
FileEncoding, CP65001

;__________________________________________________________________________________________________________________________

#SingleInstance, Off

SetTimer, GuiClose, 30000
;run, taskkill /IM AutoHotkey.exe,, Hide

;__________________________________________________________________________________________________________________________

Multimedia=0
;^!F5:: ; If a keyboard shortcut is used, all lines with the "ExitApp" command must be replaced by the "Return" command, except the last line.
GetKeyState, state, Ctrl
if (state = "D") ; Hold down the "Ctrl" key if you want to clear the clipboard and pop up the search window.
{
 ClipBoard:=""
}

;__________________________________________________________________________________________________________________________

;Send ^c ; You only need to select the search text.

GetKeyState, state, Alt
if (state = "D")
{
 SendInput ^{left}+^{right}
 Send, ^c
 StringRight, Last, ClipBoard, 1
 If Last=-
  {
  SendInput ^{left}+^{right}
  Send, ^c
  }
}
Else
{
Send ^c
}

OutFile = h:\File_Temp.txt ;Change the output file path if necessary. This file is not deleted until the next search.
OutMedia = h:\Temp_Media.txt
App = d:\Utilidades\Everything\es.exe ;Change the path of the "Everything.exe" program if necessary.

;__________________________________________________________________________________________________________________________

DetectHiddenWindows, Off
if not WinExist("Everything64")
{
Run, d:\Utilidades\Everything\Everything64.exe -startup
}

;__________________________________________________________________________________________________________________________

If !Clipboard
 {
 Gosub, SearchGUI
 }
Else
 {
 TempClip:= Clipboard
 Gosub, Rutine
 }
Return

;__________________________________________________________________________________________________________________________

SearchGUI:
TempClip:=Clipboard
xposSearch:= Floor((A_ScreenWidth/2)-450)
yposSearch:= Floor((A_ScreenHeight/2)-200)
Gui, Search:+HwndGuiID +AlwaysOnTop
Gui, Search: Font, S9 Bold, Verdana
Gui, Search: Add, Edit, x10 y16 w230 h20 vMySearch, Enter your Search
Gui, Search: Add, Button, x250 y16 w65 h20 GSearch, Search
Gui, Search: Add, CheckBox, x10 y46 w130 h20 vRegEx, RegEx Search
Gui, Search: Add, Button, x250 y46 w65 h20 gCancel, Cancel
Gui, Search: Show, x%xposSearch% y%yposSearch% h80 w330, Search
Return

#If WinActive("ahk_id " GuiID)
Enter::
NumPadEnter::
Search:
Gui Search: Submit
TempClip:=MySearch
Gui Search: Destroy
Gosub, Rutine
Return

;__________________________________________________________________________________________________________________________

Rutine:
ResvClip:=TempClip
FileDelete, %OutFile%
FileDelete, h:\File_Temp_Full.txt

If RegEx=1
 {
  RunWait, "%App%" -export-txt "%OutFile%" -r "%TempClip%",, Hide
 }
 Else
 {
  TempClip:= RegexReplace(TempClip, "[\[\]()\-\_\s+]", "*") ;Subtract or Add symbols within this replacement line of the text to find. Now replace the symbols: -_[]() and space with a wildcard.
  ;RunWait,  %comspec% /c chcp 65001 & "%App%" G:\Download ^| I:\Tutoriales\Foundry ^| M:\Temporal ^| h:\Temporal ^| F:\Temporal\ -export-txt "%OutFile%" "%TempClip%",, Hide
  RunWait,  %comspec% /c chcp 65001 & "%App%" G:\mp3 ^| I:\Foundry ^| M:\Videos ^| F:\Document -export-txt "%OutFile%" "%TempClip%",, Hide
  ;RunWait, "%App%" -export-txt "%OutFile%" "%TempClip%",, Hide
 }

FileDelete, %OutMedia%
FileRead, OutputEnd, %OutFile%

If !OutputEnd
 {
 Gosub, NotFound
 }
Else
 { 
 Gosub, ListCl
 }
Return

;__________________________________________________________________________________________________________________________

NotFound:
MsgBox, 262144, %Clipboard%, The file does not exist on the computer. , 8
;MsgBox, %Clipboard%, The file does not exist on the computer.
ExitApp

;__________________________________________________________________________________________________________________________

Cancel:
ExitApp

;__________________________________________________________________________________________________________________________

ListCl:
Gui, Control: Destroy
vOutput:=OutputEnd
Gui, Font, s12
Gui, Margin, 5, 5
Gui, -Caption +AlwaysOnTop
Gui, Add, Text, w290 h20 GuiMove, %ResvClip% ; - Search Results
Gui, Add, Button, x400 y5 w20 h20 gClose, X
Gui, Font, S10, Verdana Bold
Gui, Add, Button, x5 y516 w130 h20 gToList, Load List in TCM
Gui, Add, Button, x150 y516 w130 h20 gToBloc, Open in NotePad
Gui, Add, Button, x292 y516 w130 h20 gCopyClip, Copy to ClipBoard
Gui, Font, S14, Verdana Bold
Gui, Add, Listview, x5 y30 w416 r20 -hdr gMyLV, flnm|fllpth
for x,y in strsplit(vOutput,"`n", "`r")
	{
	splitpath,y,z	
	lv_Add("",z,y)
	} until (x = 30) ; 30 Results
LV_ModifyCol(1,380)
LV_ModifyCol(2,0)
Gui, Show
Return

;__________________________________________________________________________________________________________________________

CopyClip:
Clipboard:= OutputEnd
Return

ToBloc:
Run, %OutFile%
Return

ToList:
Run, d:\TC UP\Totalcmd64.exe /O /T /S LOADLIST:h:\File_Temp.txt,, Hide
Return

;__________________________________________________________________________________________________________________________

MyLv:
LV_GetText(fllpth, A_EventInfo, 2) 
;run, Explorer %fllpth%
GetKeyState, state, Ctrl
if (state = "D")
 {
  SplitPath, fllpth, dir
  ;MsgBox, %fllpth%
  Run, d:\TC UP\Totalcmd64.exe /T /O /L="%fllpth%",, Hide
  ;Run d:\TC UP\Totalcmd64.exe /O /T /S LOADLIST:h:\File_Temp.txt,, Hide
 }
Else
 {
If InStr(FileExist(fllpth),"D")
{
;Run d:\TC UP\Totalcmd64.exe /O /T /S LOADLIST:h:\File_Temp.txt,, Hide
Run, d:\TC UP\Totalcmd64.exe /T /O /L="%fllpth%",, Hide
;d:\TC UP\Totalcmd64.exe /O /T /S LOADLIST: h:\Download\Find_Files.txt
}
Else
*/
if not FileExist(fllpth)
   {
   SetTimer, WinMoveMsgBox, 50
   MsgBox,4096, Notice, The file is on an unconnected drive!
   }  
  Else
   {
    run, %fllpth%
   }
}
Return

;__________________________________________________________________________________________________________________________

ButtonOK:
LV_GetText(fllpth, LV_GetNext(0, "Focused"),2)
/*
GetKeyState, state, Ctrl
if (state = "D")
 {
  Run, d:\TC UP\Totalcmd64.exe /T /O /L="%fllpth%",, Hide
 }
Else
 {
  */
  if not FileExist(fllpth)
   {   
   SetTimer, WinMoveMsgBox, 50
   MsgBox,4096, Notice, The file is on an unconnected drive! ; 8 ; 262144
   ;MsgBox, The file is on an unconnected drive!
   }  
  Else
   {
    run, Explorer %fllpth%
   }
 ;}
Return

;__________________________________________________________________________________________________________________________

;~Esc::
*Esc::
Close:
Gui, Destroy
Gui, Search: Destroy
;Send, !{f4}
ExitApp

GuiClose:
ExitApp
;__________________________________________________________________________________________________________________________

uiMove:
PostMessage, 0xA1, 2,,, A 
Return

WinMoveMsgBox:
  CoordMode, Mouse, Screen
  xMsg:= Round((A_ScreenWidth/2)-150)
  yMsg:= Round((A_ScreenHeight/2)-440)
  SetTimer, WinMoveMsgBox, OFF
  WinMove, Notice, , %xMsg%, %yMsg%  
Return
Example Video: https://www.youtube.com/watch?v=M-6NEG8i6j4

(With a little effort and ingenuity, the list could have a column of icons for the type of file it is, but it's known by the extension, and it doesn't, it's possible it's a directory.)
Last edited by wetware05 on 2023-08-23, 14:36 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: File search interaction between Total Commander and Everthing search engine

Post by *Horst.Epp »

Sorry, I don't understand what should be the benefit compared to using Everything from Total Commander ?
Searching for names or even fragments is simple with ev: in the TC search window.

If I already have a file, the following button finds all files with this name across the whole system.

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything64.exe
-s nopath:exact:#quote:#[basename:"%S1"#]:
C:\Tools\Wincmd\Icons\Alphabet\F\lg.ico
Everything Search for selected file

0
-1
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
wetware05
Junior Member
Junior Member
Posts: 64
Joined: 2023-05-15, 16:10 UTC

Re: File search interaction between Total Commander and Everthing search engine

Post by *wetware05 »

Horst.Epp wrote: 2023-08-23, 13:38 UTC Sorry, I don't understand what should be the benefit compared to using Everything from Total Commander ?
Searching for names or even fragments is simple with ev: in the TC search window.

If I already have a file, the following button finds all files with this name across the whole system.

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything64.exe
-s nopath:exact:#quote:#[basename:"%S1"#]:
C:\Tools\Wincmd\Icons\Alphabet\F\lg.ico
Everything Search for selected file

0
-1
I posted it above: I use this script mainly to try to avoid downloading stuff from the internet multiple times (duplicate files), checking if it already exists on the computer) Watch video.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: File search interaction between Total Commander and Everthing search engine

Post by *Horst.Epp »

You know you can search for the following in Everything 1.5
#clipboard:
It starts to watch the clipboard.
Whatever you copy to the clipboard will be searched for.
If you're Everything config is made for TC, a double click on one of the results open it in TC.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
wetware05
Junior Member
Junior Member
Posts: 64
Joined: 2023-05-15, 16:10 UTC

Re: File search interaction between Total Commander and Everthing search engine

Post by *wetware05 »

Horst.Epp wrote: 2023-08-23, 15:19 UTC You know you can search for the following in Everything 1.5
#clipboard:
It starts to watch the clipboard.
Whatever you copy to the clipboard will be searched for.
If you're Everything config is made for TC, a double click on one of the results open it in TC.
I don't think you bothered to watch the video. If a file doesn't exist, the script will tell me that it doesn't exist. I don't have to resort to the Everythig interface. I have been adapting the script to my needs and workflow.

I don't care to share or not share scripts. It is generosity. "Don't look at the teeth of a gift horse", says a saying. You can delete the post, if you don't think it's necessary. :wink:
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: File search interaction between Total Commander and Everthing search engine

Post by *Horst.Epp »

wetware05 wrote: 2023-08-23, 17:03 UTC
Horst.Epp wrote: 2023-08-23, 15:19 UTC You know you can search for the following in Everything 1.5
#clipboard:
It starts to watch the clipboard.
Whatever you copy to the clipboard will be searched for.
If you're Everything config is made for TC, a double click on one of the results open it in TC.
I don't think you bothered to watch the video. If a file doesn't exist, the script will tell me that it doesn't exist. I don't have to resort to the Everythig interface. I have been adapting the script to my needs and workflow.

I don't care to share or not share scripts. It is generosity. "Don't look at the teeth of a gift horse", says a saying. You can delete the post, if you don't think it's necessary. :wink:
I watched your Video, but don't understand what I said.
While Everything is watching the Clipboard, I can simply copy the name from a website to the clipboard
and Everything tells me if I have such a file.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
wetware05
Junior Member
Junior Member
Posts: 64
Joined: 2023-05-15, 16:10 UTC

Re: File search interaction between Total Commander and Everthing search engine

Post by *wetware05 »

Horst.Epp wrote: 2023-08-23, 17:24 UTC
wetware05 wrote: 2023-08-23, 17:03 UTC
Horst.Epp wrote: 2023-08-23, 15:19 UTC You know you can search for the following in Everything 1.5
#clipboard:
It starts to watch the clipboard.
Whatever you copy to the clipboard will be searched for.
If you're Everything config is made for TC, a double click on one of the results open it in TC.
Hi.

I don't think you bothered to watch the video. If a file doesn't exist, the script will tell me that it doesn't exist. I don't have to resort to the Everythig interface. I have been adapting the script to my needs and workflow.

I don't care to share or not share scripts. It is generosity. "Don't look at the teeth of a gift horse", says a saying. You can delete the post, if you don't think it's necessary. :wink:
I watched your Video, but don't understand what I said.
While Everything is watching the Clipboard, I can simply copy the name from a website to the clipboard
and Everything tells me if I have such a file.
It seems to me that we have entered into repetitive and Byzantine discussions. Everythig's interface is very "overcomplicated" (cumbersome) and if you give it the possibility for tools like Listery or Everything-based, it is by "lightening" to a minimum the interface of searches, and it is as disruptive as possible (this is an "error" that its developer has to consider: it should create a middle way, between the big and the small, by means of a simpler second interface and a more intuitive understanding and use for the lazy ("vagos") or who do not have so much time to explore everything from "everyting"). If you look at the video, at the bottom right, inserted in the taskbar, this Toolbar, but I don't use it, because I see it equally "apparent" - "cumbersome" (aparatoso), in Spain, is all that has so many buttons and functionalities, that it becomes complex to use it -.

Likewise, if you have created utilities such As ToFolder (with autohotkey) or QuickSwitch, or in another scope, but also created from autohotkey, "Quick Access Popup," it is to give people options. Before I knew about Everything, I used listary, now I only use it as a "complement" that helps to "jump" to total commander.

I use FastKeys, which is a function manager and keyboard shortcuts, and I have a keyboard with programmable keys, so that by giving a single key the shared script does what I need to do to my needs. If I have the knowledge to make such a script, don't you think I've already tried other previous options to "understand" how to optimize the tools I've talked about, according to my own needs?

I don't use Everything for almost anything, just as an indexing engine that I can call from my scripts (or to do some more complex search). I have scripts created to know what things I downloaded in the last two, three or X days, and where I "placed" each thing. This could also be done with Everything (or the current TCM Log). But with the script (which makes use of Everything) I only have to select two dates in a calendar of your interface and I already get the result. Of the videos I keep for myself, I make a thumbnail with "video thumbnail maker." I have a script that verifies that all videos (stored in units and directories, such as series, documentaries, movies, tutorials...) have their thumbnail. That way if I look for duplicates I do it with a search engine for duplicates of images that are more effective, than the search engines by names or by file size, etc., since two same documentaries, can have similar names and similar sizes and not be the same. Or the opposite: that two documentaries are the same, but one has the title in English and another in Spanish and their sizes are very different (by video size, quality and type of compression). What I have "understood" is that the comparison of images is more effective (although it also has its flaws, but smaller than the search by name - the searches for duplicates of videos are effective, but slower -). So, these are my "conclusions" that don't have to be universal and not everyone has to share as a unique "truth" to manage the computer.

(Now if you want you can enter to debate if my way of looking for duplicates is correct, and you can advise me certain programs. I do not 100% assure that my "method" is the best or the most optimal, but for the moment it is the "best" I have found, adapted to my needs - and at the time I want to dedicate to it.)

For your workflow you may feel that it is more optimal what you do, but for my workflow it may not be the same. I've only shared one script that people can use or not use. I don't "dictate" that it is optimal for everyone, it is for me. (You also have to understand the theme of memory in people: to maintain how to do things with Everything, is to maintain understanding of their methodology, commands, and their own language and syntax. If you leave it for a few months it is very possible that you forget it - especially to people of a certain age - while my script only has to use it, without having to remember anything, because at the time I "investigate" enough to make it a simple and fast script).

Sample video of my workflow (it doesn't mean I'm always checking every link, it's just an example). In the FastKeys script the windows close on their own after a while. My sight doesn't even see the window anymore. From the peripheral view "I see" if it is a window that tells me that I do not have it or the other (a few days ago I changed the size of the list of found components, I will surely change it again so that it does not occupy so much space... by the way, my monitor is 4K, so if someone uses my script they have to adapt the size and fonts of the window - I share the scripts, above all, for those who already know how to handle AutoHotkey and adapt it to their own needs -).

https://youtu.be/unVgwcqI6B4

You can make a video with Everything doing something similar, but you have to accept that you will have to put the command "Clipboard:" each time and delete it in other cases, as well as adapt its interface to a not very large space (I have to change where the dialog boxes appear, to make them less intrusive).

(Sounds from the clipboard appear in the video. I use CopyQ, and messages also come out down to the left. It is to avoid false copies to the clipboard - which you think has been copied and has not -).

In short. And if anyone has put up with reading so far. My script does not just one thing, but quite a few, and while you can use Everything for the same purpose, it has things like generating lists, saving them and displaying them in a TCM panel, which cannot be done simply by other methods. I've pooled certain properties of AutoHotkey, FastKeys, "Everything" and Total Commander into a script and shared hours of work and research for free. I've already lost the urge to share anything again. I won't do it again. :|
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: File search interaction between Total Commander and Everthing search engine

Post by *Horst.Epp »

wetware05 wrote: 2023-08-24, 07:47 UTC
In short. And if anyone has put up with reading so far. My script does not just one thing, but quite a few, and while you can use Everything for the same purpose, it has things like generating lists, saving them and displaying them in a TCM panel, which cannot be done simply by other methods. I've pooled certain properties of AutoHotkey, FastKeys, "Everything" and Total Commander into a script and shared hours of work and research for free. I've already lost the urge to share anything again. I won't do it again. :|
It's not my intention to discourage you providing scripts.
But you should accept comments or suggestions for alternative solutions.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
Gerd K
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 07:40 UTC
Location: Europa, Nordfriesland

Re: File search interaction between Total Commander and Everthing search engine

Post by *Gerd K »

Der Button

-s nopath:exact:#quote:#[basename:"%S1"#]:

funktioniert hier nicht mehr, wahrscheinlich seit dem Update auf Version 1.5.0.1386a.
#77116
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: File search interaction between Total Commander and Everthing search engine

Post by *Horst.Epp »

Gerd K wrote: 2024-12-04, 13:50 UTC Der Button

-s nopath:exact:#quote:#[basename:"%S1"#]:

funktioniert hier nicht mehr, wahrscheinlich seit dem Update auf Version 1.5.0.1386a.
Ich hatte auch diese Konstruktion.
Da waren Änderungen, welche der Autor im Forum erklärt hat.
https://www.voidtools.com/forum/viewtopic.php?p=71927#p71927

Sein Kommentar:

Code: Select all

Please don't use #[basename:#]: from the command line.
Please use [basename:]
C:\Tools\Everything\Everything64.exe -s nopath:exact:[basename:"%S1"]
It's cleaner and you don't have to worry about quoting things.
Mein TC Button ist jetzt viel simpler und macht dasselbe.

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything64.exe
-s %N
C:\Tools\Wincmd\Icons\Alphabet\F\lg.ico
Everything Search for selected file


-1
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
Gerd K
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 07:40 UTC
Location: Europa, Nordfriesland

Re: File search interaction between Total Commander and Everthing search engine

Post by *Gerd K »

Astrein, das funktioniert wieder.
Danke!
#77116
Post Reply