Transfer 'Everything' GUI results to Total Commander

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Transfer 'Everything' GUI results to Total Commander

Post by *tuska »

In addition to the first post in the forum "Plugins and addons: devel.+support (English)" by Horst.Epp
under topic "Open Everything GUI results with TC LOADLIST" I have created a STEP-BY-STEP guide and summary.

If you have any questions about this, please post them in the main thread.

It is advisable to view the following information (step-by-step guide & summary) in a text editor (370 lines, clickable links)...
STEP-BY-STEP guide, PARAMETERS & Comments, TC commands, BUTTONS, ERROR MESSAGES and solutions, useful links,...

Code: Select all

; 001     CONTENT ................................................................................. Ctrl+G: Jump to line (Editor)
; 002 ------------------------------------------------------------------------------------------------------------------------------
; 003  1. AutoHotkey (.AHK) SCRIPT and GUIDANCE, Authors, last modified ................... <!> ... Lines 036 - 046
; 004  2. PARAMETERS in AHK script (for EV & TC) -AND- USER INPUTS (entries/changes) .............. Lines 047 - 078
; 005  3. Total Commander (TC) - COMMAND LINE PARAMETERS - Help (F1, 4.a.) ........................ Lines 079 - 107
; 006  4. Total Commander (TC) - COMMANDS ......................................................... Lines 108 - 121
; 007 ------------------------------------------------------------------------------------------------------------------------------
; 008  5. STEP-BY-STEP GUIDE (Detailed description) ....................................... <!> ... Lines 124 - 200
; 009     5.1 SUBFOLDER "EV-Results" in %COMMANDER_PATH% .......................................... Lines 127 - 131
; 010     5.2 em_command -> usercmd.ini (for 'View Mode') ......................................... Lines 132 - 141
; 011     5.3 'View mode' ......................................................................... Lines 142 - 147
; 012     5.4 'Auto Switch Mode' .................................................................. Lines 148 - 153
; 013     5.5 AutoHotkey - scripting language for Windows (path for installation and scripts) ..... Lines 154 - 161
; 014     5.6 AutoHotkey - hints --> .AHK scripts: 12 variants .................................... Lines 162 - 166
; 015     5.7 Option: 'Everything' - Settings (Footer, Header) .................................... Lines 167 - 177
; 016     5.8 Option: QuickAccessPopup (QAP) - System-wide hotkeys ................................ Lines 178 - 200
; 017 ------------------------------------------------------------------------------------------------------------------------------
; 018  6. BUTTONS and SCRIPTS  .................................................................... Point 6.
; 019     6.1 BUTTONS for Total Commander (TC) commands; QuickAccessPopup (QAP) - Hotkeys ......... Point 6.1.1 - 6.1.8
; 020     6.2 AutoHotkey (.AHK) SCRIPTS - Default & Examples ...................................... Point 6.2.1 - 6.2.12
; 021         Option: Create BOOKMARKS in the AHK scripts for lines with nos. 41-47, 63-64, 164 ... Point 6.2.0
; 022     6.3 BUTTONS for COMPILED AHK SCRIPTS (.exe) ............................................. Point 6.3.1 - 6.3.12
; 023 ------------------------------------------------------------------------------------------------------------------------------
; 024  7. DIFFERENCES, [missing] ERROR MESSAGES and solutions, RegEx queries, ATTRIBUTES .......... Lines 201 - 370
; 025     7.1 ERROR MESSAGES and solutions ........................................................ Lines 205 - 234
; 026     7.2 Missing error messages .............................................................. Lines 235 - 250
; 027     7.3 DIFFERENCES in the number of folders and files between Everything & Total Commander . Lines 251 - 280
; 028     7.4 REGEX queries - Author: Ovg ......................................................... Lines 281 - 298
; 029     7.5 ATTRIBUTES (File Attribute Constants, File Access Rights Constants) ................. Lines 299 - 370
; 030 ------------------------------------------------------------------------------------------------------------------------------
; 031  8. LINK collection ......................................................................... Point 8.
; 032 ------------------------------------------------------------------------------------------------------------------------------
; 033  >> See also: 'Everything' - "Context Menu" <<
; 034 ******************************************************************************************************************************
; 035
; 036 1. AutoHotkey (.AHK) SCRIPT and GUIDANCE, Authors, last modified
; 037 https://ghisler.ch/board/viewtopic.php?t=75439 ............ Topic "Open Everything GUI results with TC LOADLIST" by Horst.Epp
; 038 https://ghisler.ch/board/viewtopic.php?p=406127#p406127 ... FIRST POST by Horst.Epp » 10.10.2021 19:58 (SCRIPT and guidance)
; 039 https://ghisler.ch/board/viewforum.php?f=6 ................ Forum "Plugins and addons: devel.+support (English)"
; 040
; 041 Transfer Everything GUI results to TC			  Last Change(s) by Ovg:   RegEx
; 042 Authors: Horst.Epp & Ovg				          > 21.10.2021 11:38 - If !RegExMatch(content,"i)^[a-z]:|\\\.*?\\")
; 043 Last modified: By Ovg ......... 21.10.2021 12:22 .......... > 21.10.2021 12:22 - If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
; 044 Last modified: By Horst.Epp ... 22.10.2021 19:03 .......... My (tuska's) script name: 2021-10-22_1903_HorstEpp&Ovg_FIRST-POST.ahk
; 045
; 046 *********************************************************************************************************************************
; 047 2. PARAMETERS in AHK-script (for EV & TC) -AND- USER INPUTS (entries/changes)
; 048 For user inputs (entries/changes), I currently consider the lines with nos. 41-47, 63, 64, 164 in AHK-script as relevant:
; 049 Parameters in AHK-script:                                   Comments:
; 050 *********************************************************************************************************************************
; 051 Line  41: DestinationFile = C:\Tools\Wincmd\Scripts\Results\Everything.txt (DEFAULT) -> Modify if necessary, e.g. EV-Results.txt
; 052 ---------------------------------------------------------------------------------------------------------------------------------
; 053 Line  42: EverythingColumnPositions=2,1 ......... (DEFAULT) After EVERY CHANGE of the COLUMN ARRANGEMENT -> RESTART Everything!
; 054 Line  42: EverythingColumnPositions=1,2 .......... (Option) After EVERY CHANGE of the COLUMN ARRANGEMENT -> RESTART Everything!
; 055 Line  42: ............................ (details/discussion) https://ghisler.ch/board/viewtopic.php?p=406619#p406619
; 056 ---------------------------------------------------------------------------------------------------------------------------------
; 057 Line  43: AddEndSlash = 1  ...................... (DEFAULT) LEAVE IT UNTOUCHED to match results: FILES and FOLDERS in TC and EV
; 058 Line  43: AddEndSlash = 0  ....................... (Option) ONLY FILES(!) are then displayed in the search results in TC
; 059 Line  43: AddEndslash =    .......... (discussion/DETAILS!) https://ghisler.ch/board/viewtopic.php?p=406619#p406619
; 060 Line  43: Add trailing backslash to name for folders ...... https://www.voidtools.com/forum/viewtopic.php?f=4&t=10621;
; 061 Line  43: Detailed description: Difference of 1 folder .... https://ghisler.ch/board/viewtopic.php?p=406607#p406607
; 062 Line  43: Queries WITH/WITHOUT Backslash '\' -> Explanation https://www.voidtools.com/forum/viewtopic.php?p=40529#p40529
; 063 Line  43: Queries WITH/WITHOUT Backslash '\' -> OVERVIEW(!) https://www.voidtools.com/forum/viewtopic.php?p=40610#p40610
; 064 Line  43: INI setting in EV: https://www.voidtools.com/forum/viewtopic.php?f=12&t=9994&p=36621#folder_append_path_separator
; 065 Line  43: AddEndSlash =  ... & change .ini files of script  ) Partly obsolete: [If necessary, carry out tests again].
; 066 Line  43: Everything: FOLDER_APPEND_PATH_SEPARATOR= ....... ) https://www.ghisler.ch/board/viewtopic.php?p=406296#p406296
; 067 ------------------------------------------------------------------------------------------------------------------------------
; 068 Line  44: CloseEverything = 1  .................. (DEFAULT) - Everything window: CLOSED ->  2. Script + AltGr + D (QAP: Open!)
; 069 Line  44: CloseEverything = 0  ................... (Option) - Everything window: OPEN   ->  1. Script + AltGr + S (QAP: Open!)
; 070 ------------------------------------------------------------------------------------------------------------------------------
; 071 Line  45: UseInstance =   ....................... (DEFAULT) Leave it BLANK (multiple Everything instances can be used)!
; 072 Line  45: UseInstance =   ........................ (Option) e.g. PRIVATE   (multiple Everything instances can be used too)!
; 073 ------------------------------------------------------------------------------------------------------------------------------
; 074 Line  46: Everything =    ....................... (DEFAULT) C:\Tools\Everything\Everything64.exe.. -> Modify if necessary!
; 075 Line  47: TotalCmd =      ....................... (DEFAULT) C:\Tools\Wincmd\TOTALCMD64.EXE ....... -> Modify if necessary!
; 076 Line  63: Path\to\Everything64.exe  ............. (DEFAULT) "C:\Tools\Everything\Everything64.exe" -> Modify if necessary!
; 077 Line  64: Path\to\TOTALCMD64.EXE    ............. (DEFAULT) "C:\Tools\Wincmd\TOTALCMD64.EXE" ..... -> Modify if necessary!
; 078 ------------------------------------------------------------------------------------------------------------------------------
; 079 3. Total Commander (TC) - COMMAND LINE PARAMETERS - Help (F1, 4.a.)
; 080 Line 164: Run %TotalCmd% /O /T /S %DestinationDir% ........ TC-Parameter: /O /T /S -> Modify if necessary, e.g. /O /S ...
; 081 Line 164: ........................................(DEFAULT) TC-Parameter: /O /T /S -> Help (F1, 4.a. Command line parameters)
; 082 Line 164: Run %TotalCmd% /O /S %DestinationDir% .. (Option) WITHOUT ....:    /T    -> Active TC window, No TAB "Search result:"
; 083 Line 164: Further options below ........................... Reference: https://ghisler.ch/board/viewtopic.php?p=406741#p406741
; 084 Line 164: Run %TotalCmd% /O /T /L=%DestinationDir% (Option) Search result: Left  panel in Total Commander - With TAB *)
; 085 Line 164: Run %TotalCmd% /O /L=%DestinationDir% ...(Option) Search result: Left  panel in Total Commander - No TAB   *)
; 086 Line 164: Run %TotalCmd% /O /T /R=%DestinationDir% (Option) Search result: Right panel in Total Commander - With TAB *)
; 087 Line 164: Run %TotalCmd% /O /R=%DestinationDir% .. (Option) Search result: right panel in Total Commander - No TAB   *)
; 088 ...
; 089 *) TAB -> "Search result:" 				  [See also: https://ghisler.ch/board/viewtopic.php?t=72153]
; 090 ------------------------------------------------------------------------------------------------------------------------------
; 091
; 092 Help (F1, 4.a. Command line parameters)
; 093 /O 	If Total Commander is already running, activate it and pass the path(s) in the command line to that instance
; 094           (overrides the settings in the configuration dialog to have multiple windows)
; 095 /T 	Opens the passed dir(s) in new tab(s). Also works when Total Commander hasn't been open yet.
; 096 /S 	Interprets the passed dirs as source/target instead of left/right (for usage with /O).
; 097           For example, a dir passed with /R= will be interpreted as the target dir.
; 098 /L= 	Set path in left window
; 099 /R= 	Set path right window
; 100
; 101 /A        https://ghisler.ch/board/viewtopic.php?p=406741#p406741
; 102 	        Horst.Epp: "... is of no value in the context of the script as the result is never an archive".
; 103	        When an archive file is passed as path, do not open it, but instead open the directory containing the archive
; 104           and set the archive as the active file (place the text cursor on it)
; 105	        ext:zip AutoHotkey_1.1.33.10 --> TEST: OK
; 106 ------------------------------------------------------------------------------------------------------------------------------
; 107 ******************************************************************************************************************************
; 108
; 109 4. Total Commander (TC) - COMMANDS
; 110
; 111 cm_SwitchHidSys ... -> Everything shows hidden files automatically, in TC hidden files must first be shown with this command.
; 112 cm_SwitchIgnoreList -> By disabling the ignore list in TC, an error message can be prevented when executing the script.
; 113 em_LOAD_EV-Results  -> command: LOADLIST C:\Tools\Wincmd\Scripts\Results\Everything.txt
; 114 cm_ConfigViewModes  -> View Mode "EV-Results": Auto-run commands: em_LOAD_EV-Results,cm_ExchangeSelBoth
; 115 cm_ToggleAutoViewModeSwitch -> [x] Automatically switch 'View mode' on directory change --> REQUIRED!
; 116 cm_ConfigViewModeSwitch ... -> Rule: +: Must match | Directory: %COMMANDER_PATH%\EV-Results\ | Set this mode: EV-Results
; 117 TAB'S
; 118 1. SAVETABS2L %COMMANDER_PATH%\TABs\STANDARD.tab
; 119 2. cd %COMMANDER_PATH%\TABs\ ... [Option]
; 120 3. OPENTABSL %COMMANDER_PATH%\TABs\STANDARD.tab
; 121
; 122 ******************************************************************************************************************************
; 123
; 124 5.  STEP-BY-STEP GUIDE (Detailed description)
; 125     STEP-BY-STEP GUIDE in addition to the FIRST POST: https://ghisler.ch/board/viewtopic.php?p=406127#p406127
; 126
; 127 5.1 Create the SUBFOLDER "EV-Results" in %COMMANDER_PATH%
; 128     %COMMANDER_PATH% is the location of the TOTALCMD.EXE and/or TOTALCMD64.EXE file.
; 129     Example: C:\Tools\Totalcmd\EV-Results\  ................... TOTALCMD64.EXE is located in C:\Tools\Totalcmd\
; 130     corr.to:  %COMMANDER_PATH%\ ............................... corr.to: -> corresponds to:   %COMMANDER_PATH%\
; 131
; 132 5.2 Create this entry in the file USERCMD.INI (4 lines): ... This em_command is to be used for the "View mode". ...
; 133 ******************************************************************************************************************************
; 134     [em_LOAD_EV-Results]
; 135     button=
; 136     cmd=LOADLIST %COMMANDER_PATH%\EV-Results\EV-Results.txt
; 137     menu=LOADLIST %COMMANDER_PATH%\EV-Results\EV-Results.txt|https://www.ghisler.ch/board/viewtopic.php?t=75439
; 138 ******************************************************************************************************************************
; 139     The meaning of the commands, e.g. LOADLIST or cm_ExchangeSelBoth, can be queried in the CommandBrowser.
; 140     Simply type cm_CommandBrowser into the TC command line and press ENTER or create a button with this command.
; 141
; 142 5.3 Create a "View mode", e.g. as follows...
; 143     - Menu "Configuration" - "Options..." - "View mode" - "Add...": EV-Results - OK
; 144     - Columns view: Unchanged - Sort order: Name - Auto-run commands: em_LOAD_EV-Results,cm_ExchangeSelBoth
; 145     - ,cm_ExchangeSelBoth = optional, but this is very helpful, as you can then immediately read the number of
; 146       transferred files/folders in the status bar.
; 147
; 148 5.4 Create an "Auto Switch Mode"
; 149     Menu "Configuration" - "Options..." - "Auto Switch Mode"
; 150     [x] Automatically switch 'View mode' on directory change: MUST be ticked!
; 151     "Add..." -> Rule: +: Must match -> Directory:  %COMMANDER_PATH%\EV-Results\ ... -or- C:\Tools\Totalcmd\EV-Results\
; 152     Set this mode: EV-Results (<< this is the name of your "View mode") - "OK"
; 153
; 154 5.5 AutoHotkey - automation scripting language for Windows: https://www.autohotkey.com/download/
; 155     "Note: The installer also includes an "extract to" function to extract all files WITHOUT INSTALLING.
; 156      This can be accessed from the installer GUI or on the command line. Help files in other languages available, e.g. German".
; 157
; 158     Installation path e.g. C:\Tools\Totalcmd\Tools\AutoHotkey\
; 159     Path for scripts, e.g. C:\Tools\Totalcmd\Tools\AutoHotkey\Skripte -> Attention: The "Skripte" folder is used in the examples!
; 160     This corresponds to ->  %COMMANDER_PATH%\Tools\AutoHotkey\Skripte
; 161
; 162 5.6 Save the .AHK script from first post with a text editor in e.g.  -> C:\Tools\Totalcmd\Tools\AutoHotkey\Skripte
; 163     -OR- copy/paste the .AHK scripts as shown below ................... see: Point 6.2.1 - 6.2.12
; 164     Hint: If the file name (.AHK) has too many characters, compilation of the AHK script is not possible.
; 165     Note also point 6.2.0  *** INSTRUCTIONS and NOTES ***
; 166
; 167 5.7 Option: 'Everything' - Settings
; 168     In this context, I recommend the following settings in Everything 1.5
; 169     5.7.1  Footer (Objects, folders, files)
; 170	    	 Search results in status bar, e.g. xx objects (xx files, xx directories)
; 171	    	 https://www.voidtools.com/forum/viewtopic.php?p=40589#p40589
; 172            e.g. statusbar_format= ...........: 0 objects (0 files, 0 folders) --> with set-up instructions!
; 173	         Status Bar Format ................: https://www.voidtools.com/forum/viewtopic.php?f=12&t=10671 (many examples!)
; 174     5.7.2  Header (version no., instance and admin rights in title bar of 'Everything)
; 175            Everything - Version No. in header: https://www.voidtools.com/forum/viewtopic.php?f=4&t=9915
; 176	    	 Everything.ini ...................: window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
; 177
; 178 5.8 Option: QuickAccessPopup (QAP) - System-wide hotkeys, e.g. Quick Access Popup v11.5.2.1 (64-bit)
; 179     5.8.0  Hotkeys, Shortcuts ...... https://www.quickaccesspopup.com/tag/shortcuts/, https://www.quickaccesspopup.com/
; 180     5.8.1  Download ................ https://www.quickaccesspopup.com/download-quick-access-popup/
; 181     5.8.2  Settings (Picture) ...... https://www.bilder-hochladen.net/files/big/lwdu-2k-06ed.png ...
; 182	                                   click with the magnifying glass on the picture above to enlarge it.
; 183     5.8.3  Add Hotkey
; 184            a) Click on button "Add" then on "Application", button "Continue"
; 185	         b) Short name for menu *: e.g. SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-L
; 186	         c) Application (path and file name) *:
; 187               C:\Tools\Totalcmd\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-L.exe
; 188	         d) Tab "Menu Options": ... Shortcut: None -> click on button "Change"
; 189               [x] Ctrl  [x] Alt  l -> use lower case letters only
; 190
; 191     5.8.4  Notes
; 192	         a) If these hotkeys are to be used system-wide, Quick Access Popup (QAP) must be started (Systray!)
; 193	         b) Temporarily switch off system-wide hotkeys is possible:
; 194               Right-click on the icon in the systray of Quick Access Popup and click on "Suspend Hotkeys".
; 195	         c) The script can be started - without hotkeys - by clicking on the button or by double-clicking on the .exe file
; 196 		    NOTE: If the Everything window is open but the search query has NOT been restricted, then all indexed drives
; 197       	    are searched and the AutoHotkey icon is displayed in the taskbar.
; 198		    An IMMEDIATE CANCEL(!) can be achieved as follows: Right-click on the icon in the taskbar,
; 199		    then click on the menu item "Exit".
; 200
; 201 ******************************************************************************************************************************
; 202 7. DIFFERENCES, [missing] ERROR MESSAGES and solutions, RegEx queries, ATTRIBUTES
; 203    ...   relating to the number of folders and files between Everything and Total Commander
; 204
; 205    7.1    ERROR MESSAGES and solutions
; 206	        An error message can occur in the following cases, for example
; 207    7.1.1  EVERYTHING IS NOT OPENED and the script is started.
; 208	   	Error message: "Everything window does not exist!"
; 209	   	=> Solution: Open Everything BEFORE executing the script.
; 210    7.1.2 	HIDDEN FILES are not displayed, e.g. TC comments (Ctrl+Z) -> descript.ion
; 211	   	Error message, e.g.:
; 212	   	<Error!> File not found! (1x) descript.ion ...
; 213	   	=> Solution: Show hidden files with the command cm_SwitchHidSys.
; 214    7.1.3 	HIDDEN FILES / FOLDERS from the TC ignore list
; 215	   	Error message, for example:
; 216	   	<Error!> File not found! (9x) xxx ...
; 217	   	=> Solution: Show hidden files with the command cm_SwitchIgnoreList.
; 218    7.1.4 	Files that require a read permission including administrator permission to display the properties, e.g.
; 219	   	C:\Users\Administrator\AppData\Local\Microsoft\OneDrive\21.062.0328.0001\images\lightTheme\blurrect.png
; 220	   	Error message, for this example:
; 221	   	<Error!> File not found! blurrect.png
; 222	   	=> Solution 1 of 2: Start a separate TC instance with admin authorisation - "TC as Admin"
; 223	        Button: Command: *%COMMANDER_EXE% ... Parameters: %Z/N %X"%P" "%T" ... Icon file: %COMMANDER_PATH%\TCMADM64.EXE
; 224		Button: https://ghisler.ch/board/viewtopic.php?p=339129#p339129 (copy/paste into your buttonbar)
; 225	        Such search results can also be transferred to TC.
; 226	   	=> Solution 2 of 2: ... -OR- Search for:
; 227		   ev:C:\Users\Administrator\AppData\Local\Microsoft\OneDrive\21.062.0328.0001\images\lightTheme\blurrect.png
; 228    7.1.5 "System Volume Information" folders with the following attributes cannot be transferred to TC even with TC admin rights
; 229	   	[■] Write-protected (only affects files in the folder)
; 230	   	[x] hidden
; 231	   	Example: I:\System Volume Information
; 232	   	However, you get an error message.
; 233	   	=> Solution: Search for: ev:I:\System Volume Information
; 234
; 235    7.2   	Missing error messages
; 236    7.2.1 	Auto Switch Mode
; 237	   	[ ] Automatically switch View mode on directory change:  <= ... is NOT ticked!
; 238	   	C:\Tools\Totalcmd\EV-Results\EV-Results.txt is shown INSTEAD of the search results
; 239	   	=> Solution: Leave the folder "C:\Tools\Totalcmd\EV-Results\" and switch on the required option:
; 240	                     [X] Automatically switch view mode on directory change ... and then transfer the search result again.
; 241    7.2.2 	If there is NO ERROR MESSAGE and the search result in TC remains empty, then it might be a bug.
; 242          	There has already been such an error and it was corrected by a RegEx solution from user Ovg.
; 243          	=> Solution: For such cases, I think an entry should be made in the forum:
; 244          	https://ghisler.ch/board/viewtopic.php?t=75439 ... Open Everything GUI results with TC LOADLIST
; 245    7.2.3 	Folders with the following attribute cannot be transferred to TC even with TC admin rights
; 246	   	[■] Write-protected (only affects files in the folder)
; 247	   	Example: C:\Windows\Panther\Rollback\MachineIndependent\Transformers\CBS\system_volume
; 248	   	You do NOT get an error message!
; 249	   	=> Solution: Search for: ev:C:\Windows\Panther\Rollback\MachineIndependent\Transformers\CBS\system_volume
; 250
; 251    7.3   	DIFFERENCES in the number of folders and files between Everything and Total Commander
; 252    7.3.1 	Backslash for folders and drives
; 253	   	A difference of 1 folder may result if NO backslash was entered in the EV search box for a folder or drive letter.
; 254	   	Search for keywords: AddEndslash ... FOLDER_APPEND_PATH_SEPARATOR= ...
; 255	   	See: 8. LINK collection: Several links to this topic are available in the 2nd block.
; 256	   	=> Solution: In Everything for folders and drive letters always enter a BACKSLASH at the end,
; 257			     e.g. C:\Tools\Totalcmd\ or D:\
; 258
; 259    7.3.2  Hard links
; 260	 7.3.2.1 TC-Plugin: NTLinks 1.6.0.244 http://totalcmd.net/plugring/NTLinks.html
; 261	 7.3.2.2 The detection of changed hard links was last improved on 09.11.2021 with version Everything-1.5.0.1284a.
; 262	         https://www.voidtools.com/forum/viewtopic.php?f=12&t=9787 "fixed an issue with missing changes to hard links".
; 263
; 264	 7.3.2.3 https://www.voidtools.com/forum/viewtopic.php?p=41088#p41088 Constantly have to "Force Rebuild"
; 265		 "Everything 1.5.0.1284a will no longer attempt to track hard link removal.
; 266		 Forcing a rebuild will be required to remove stale hard links".
; 267		 https://www.voidtools.com/forum/viewtopic.php?p=41089#p41089
; 268		 I have on my TODO list to track hard link removal when adding the File ID property to your index.
; 269		 => This means that the search result of 'Everything' could still contain deleted hardlinks.
; 270		    When the search result is transferred from EV to TC, TC cannot find the deleted hardlinks
; 271		    and therefore there is a difference in the search result.
; 272		 => Solution: 'Everything' - menu "Tools" - "Options..." - "Indexes" - Click on button "Force Rebuild"
; 273		  	      This means that deleted hard links no longer appear in the Everything search results.
; 274
; 275    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; 276    In my opinion, it is advisable in any case to check the number of transferred search results,
; 277    namely by checking the status bar of both Everything and Total Commander for the number of objects (files, folders).
; 278    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; 279
; 280 ******************************************************************************************************************************
; 281    7.4 	REGEX queries - author: Ovg - these queries can help in determining differences(!), e.g. for drive N
; 282        	RegEx queries (thanks to Ovg!) for EV-Results.txt   .......... RegEx (Regular Expressions)
; 283        	7.3.1 Lines where N: is present at the beginning, e.g. ....... (?i)^N:.*$
; 284        	7.3.2 Lines that do NOT have N: at the beginning, e.g. ....... (?i)^[^N]:.*$
; 285        	7.3.3 Lines that have a backslash at the end ................. ^.*\\$
; 286        	7.3.4 Lines that do NOT have a backslash at the end .......... ^.*[^\\]$
; 287
; 288 -) Notepad++ | EV-Results.txt -> Menu "Search" - "Find in files Ctrl+Shift+F" -> Find what: e.g. -> ^.*\\$ -> Filters: *.* ->
; 289 -) x Follow current doc. | x Regular expression -> button "Find All" -> e.g. Search results - (2 hits) and DETAILS(!)
; 290 -) are displayed below the open text file: EV-Results.txt.
; 291
; 292 -> Notepad3  | Find... Ctrl+F -> Search string: e.g. -> ^.*\\$ -> x Regular expression search -> x Mark Occurrences ->
; 293 -> click on button "Focused View" -> Status bar, e.g. -> Occ 2
; 294
; 295 -) EmEditor  | Field "Filter": ^.*\\$ | Whole Line | [x] Use Regular Expressions | Incremental Search ->
; 296 -) Ctrl+A in Search result: -> result in status bar, e.g. 2/6 lines
; 297
; 298 ******************************************************************************************************************************
; 299    7.5 ATTRIBUTES (File Attribute Constants, File Access Rights Constants) ... can help in determining differences(!)
; 300        				https://ghisler.ch/board/viewtopic.php?p=406417#p406417
; 301 (0) ATTRIBUTES .................: General overview of (1)-(3)
; 302 (1) Attributes .................: https://www.voidtools.com/forum/viewtopic.php?f=12&t=10176#attrib
; 303 (2) File Attribute Constants ...: https://docs.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants
; 304 (3) File Access Rights Constants: https://docs.microsoft.com/en-us/windows/win32/fileio/file-access-rights-constants
; 305 (X) Hint .......................: cm_SwitchHidSys | Turn hidden/system files ON(!) [and off]
; 306 ==============================================================================================================================
; 307    Value			Constant 				EV-Search:	Objects	|Total in TC |Files  |Folders  |Diff.
; 308 ==============================================================================================================================
; 309 (1) --------------------------------------------------------------------------------------------------------------------------
; 310 (1) R 			Read Only				attribute:r
; 311 (2) 1 (0x1)		FILE_ATTRIBUTE_READONLY			attribute:0x1
; 312 (1) --------------------------------------------------------------------------------------------------------------------------
; 313 (1) H			Hidden					attribute:h
; 314 (2) 2 (0x2)		FILE_ATTRIBUTE_HIDDEN			attribute:0x2
; 315     --------------------------------------------------------------------------------------------------------------------------
; 316 (1) S			System					attribute:s
; 317 (2) 4 (0x4)		FILE_ATTRIBUTE_SYSTEM			attribute:0x4
; 318     --------------------------------------------------------------------------------------------------------------------------
; 319 (1) D			Directory				attribute:d
; 320 (2) 16 (0x10)		FILE_ATTRIBUTE_DIRECTORY		attribute:0x10
; 321 (3) 16 (0x10)		FILE_WRITE_EA				attribute:0x10
; 322     --------------------------------------------------------------------------------------------------------------------------
; 323 (1) A			Archive					attribute:a
; 324 (2) 32 (0x20)		FILE_ATTRIBUTE_ARCHIVE			attribute:0x20
; 325 (3) 32 (0x20)		FILE_EXECUTE				attribute:0x20
; 326 (3) 32 (0x20)		FILE_TRAVERSE				attribute:0x20
; 327     --------------------------------------------------------------------------------------------------------------------------
; 328 (1) V			Integrity Stream			attribute:v
; 329 (1) X			No Scrub Data				attribute:x
; 330     --------------------------------------------------------------------------------------------------------------------------
; 331 (1) N			Normal					attribute:n
; 332 (2) 128 (0x80)		FILE_ATTRIBUTE_NORMAL			attribute:0x80
; 333 (3) 128 (0x80)		FILE_READ_ATTRIBUTES			attribute:0x80
; 334     --------------------------------------------------------------------------------------------------------------------------
; 335 (1) T			Temporary				attribute:t
; 336 (2) 256 (0x100)		FILE_ATTRIBUTE_TEMPORARY		attribute:0x100       *.tmp, .* (OneDrive)
; 337 (3) 256 (0x100)		FILE_WRITE_ATTRIBUTES			attribute:0x100
; 338     --------------------------------------------------------------------------------------------------------------------------
; 339 (1) L			Reparse Point				attribute:l
; 340 (2) 1024 (0x400)		FILE_ATTRIBUTE_REPARSE_POINT		attribute:0x400
; 341     --------------------------------------------------------------------------------------------------------------------------
; 342 (1) C			Compressed				attribute:c
; 343 (2) 2048 (0x800)		FILE_ATTRIBUTE_COMPRESSED		attribute:0x800
; 344     --------------------------------------------------------------------------------------------------------------------------
; 345 (1) O			Offline					attribute:O
; 346 (2) 4096 (0x1000)		FILE_ATTRIBUTE_OFFLINE			attribute:0x1000
; 347     --------------------------------------------------------------------------------------------------------------------------
; 348 (1) I			Not Content Indexed			attribute:i
; 349 (2) 8192 (0x2000)		FILE_ATTRIBUTE_NOT_CONTENT_INDEXED	attribute:0x2000
; 350     --------------------------------------------------------------------------------------------------------------------------
; 351 (1) E			Encrypted				attribute:e
; 352 (2) 16384 (0x4000)	FILE_ATTRIBUTE_ENCRYPTED		attribute:0x4000
; 353     --------------------------------------------------------------------------------------------------------------------------
; 354 (1) U			Unpinned				attribute:u
; 355 (1) P			Pinned					attribute:p
; 356 				- attribute:p  Mediainfo*.dll
; 357     --------------------------------------------------------------------------------------------------------------------------
; 358 (1) M			Recall on Data Acces			attribute:m
; 359 (2) 4194304 (0x400000)  	FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS	attribute:0x400000
; 360     --------------------------------------------------------------------------------------------------------------------------
; 361 (2) 64 (0x40)		FILE_ATTRIBUTE_DEVICE			attribute:0x40
; 362 (3) 64 (0x40)		FILE_DELETE_CHILD			attribute:0x40
; 363     --------------------------------------------------------------------------------------------------------------------------
; 364 (2) 32768 (0x8000)	FILE_ATTRIBUTE_INTEGRITY_STREAM		attribute:0x8000
; 365 (2) 131072 (0x20000)	FILE_ATTRIBUTE_NO_SCRUB_DATA		attribute:0x20000
; 366 (2) 262144 (0x40000)	FILE_ATTRIBUTE_RECALL_ON_OPEN		attribute:0x40000
; 367 (2) 512 (0x200)		FILE_ATTRIBUTE_SPARSE_FILE		attribute:0x200
; 368 				- attribute:0x200  N:\System Volume Information\MasterFileStatus.db
; 369 (2) 65536 (0x10000)	FILE_ATTRIBUTE_VIRTUAL			attribute:0x10000
; 370 ==============================================================================================================================
6.      BUTTONS and SCRIPTS
6.1    BUTTONS general - mainly with Total Commander commands
         For this topic, I found the following buttons helpful.

Create the button - (Note the tooltips)
>>     Click on "SELECT ALL" (to the right of CODE:)
>>     Press Ctrl + C to copy the marked content to the clipboard
>>     Right click on your buttonbar and choose "Paste"
6.1.1  cm_SwitchHidSys 2011 Turn hidden/system files ON and OFF

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchHidSys

%COMMANDER_PATH%\Icons\ICL\FileIconsFlat.icl,9
cm_SwitchHidSys 2011 Turn hidden/system files ON and OFF|wincmd.ini [Shortcuts] C+OEM_.=cm_SwitchHid || (Ctrl + .)|Example: descript.ion = hidden file for TC file comments (CTRL+Z)|https://ghisler.ch/board/viewtopic.php?p=391929#p391929

0
2011
6.1.2  cm_SwitchIgnoreList 2922 ENABLE/DISABLE ignore list file to NOT show file names

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchIgnoreList

WCMICONS.dll,73
cm_SwitchIgnoreList 2922 ENABLE/DISABLE ignore list file to NOT show file names|Configuration -> Options... -> Ignore list || Button pressed = HIDE (folders, files)...|e.g. I:\$RECYCLE.BIN, D:\System Volume Information, E:\WindowsImageBackup, ...

0
2922
6.1.3  cm_ToggleAutoViewModeSwitch 2947 Turn automatic 'View mode' switching ON/OFF

Code: Select all

TOTALCMD#BAR#DATA
cm_ToggleAutoViewModeSwitch

wciconex.dll,56
cm_ToggleAutoViewModeSwitch 2947 Turn automatic 'View mode' switching ON/OFF|... OFF: so that you can change to the directory %COMMANDER_PATH%\EV-Results\|... WITHOUT the 'Auto Switch Mode' being executed!|https://ghisler.ch/board/viewtopic.php?f=3&t=53559

0
2947
6.1.4  cm_rereadsource 2 <-- re-applies automatic View mode change to current directory

Code: Select all

TOTALCMD#BAR#DATA
cm_RereadSource 2

wcmicons.dll,86
cm_rereadsource 2 <-- re-applies automatic View mode change to current directory|cm_rereadsource 1 forces refresh even if nothing has changed in that directory,|e.g. to re-load icons and overlays.|cm_rereadsource 3 also forces a refresh if nothing has changed

0
-1
6.1.5  Option: cd %COMMANDER_PATH%\TABs\ - Show saved TABs

Code: Select all

TOTALCMD#BAR#DATA
cd %COMMANDER_PATH%\TABs\

%COMMANDER_PATH%\TOTALCMD.EXE,6
cd %COMMANDER_PATH%\TABs\ || Show saved TABs|- ADDING tabs [active panel]: Double-click on .tab file|- REPLACEMENT of tabs [active panel]: Shift+double click on .tab file|wincmd.ini [Configuration] TabDir=%COMMANDER_PATH%\TABs\

0
-1
6.1.6  SAVE TABs to this file: STANDARD.tab

Code: Select all

TOTALCMD#BAR#DATA
SAVETABS2L %COMMANDER_PATH%\TABs\STANDARD.tab

%COMMANDER_PATH%\Icons\Save_Speichern1.ico
SAVE TABs to this file: STANDARD.tab ... || after clicking on this button(!)|command: SAVETABS2L %COMMANDER_PATH%\TABs\STANDARD.tab|SAVETABS2L <filename> ... SAVE TABS to .TAB FILE. both sides (LEFT=FIRST)|https://ghisler.ch/board/viewtopic.php?f=32&t=57549

0
-1
6.1.7  TABs "STANDARD.tab" - REPLACE existing tabs!

Code: Select all

TOTALCMD#BAR#DATA
OPENTABSL %COMMANDER_PATH%\TABs\STANDARD.tab

%COMMANDER_PATH%\TOTALCMD.EXE,5
TABs "STANDARD.tab" => Attention!|After click they are IMMEDIATELY activated and REPLACE existing tabs!|TABs from left window first - Focus: Left window|OPENTABSL %COMMANDER_PATH%\TABs\STANDARD.tab|See: https://www.ghisler.ch/board/viewtopic.php?f=2&t=73401

0
-1
6.1.8  Option: QuickAccessPopup (QAP) - System-wide Hotkeys

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\QuickAccessPopup_QAP\QuickAccessPopup-64-bit.exe

%COMMANDER_PATH%\Tools\QuickAccessPopup_QAP\QuickAccessPopup-64-bit.exe
QuickAccessPopup-64-bit -Customize: Ctrl+Shift+Q || System-wide HOTKEYS when QAP is open!|%COMMANDER_PATH%\Tools\QuickAccessPopup_QAP\QuickAccessPopup-64-bit.exe|Send EV-ResultList-to-TC: Altgr+S: OPEN+Tab; AltGr+D: CLOSED+Tab; AltGr+Y: OPEN; AltGr+X: CLOSED
%COMMANDER_PATH%\Tools\QuickAccessPopup_QAP\
0
-1
 
6.2   AutoHotkey SCRIPTS (.AHK) - Default & further examples
6.2.0  ************ INSTRUCTIONS and NOTES ************

Code: Select all

0. The path to the buttons is currently .....: C:\Tools\Totalcmd\Tools\AutoHotkey\Skripte -> ADJUST THIS IF NECESSARY!
1. Save the .AHK scripts with a text editor in C:\Tools\Totalcmd\Tools\AutoHotkey\Skripte
2. Right click on the .AHK script file, then on "Compile Script" -> an .exe file with the same name is created...
   Only then can you use the "BUTTONS - compiled AHK scripts" listed below!
---------------------------------------------------------------------------------------------------------------------------------
;  NOTE: In principle, it is sufficient to use ONLY 1 SCRIPT -> e.g. DEFAULT... see point 6.2.2 and 6.3.2!
;
;  However, the creation of further scripts, buttons, hotkeys offers the possibility,
;  that with 1 single ACTION(!) you have a total of 12 choices(!) - these are listed below.
;
;  These 12 selection options have the following in common with regard to the search result displayed:
;  Alt+left mouse button returns to the previous view (incl. 'View mode'!) ... > SWITCH between folder
;  Alt+right mouse button displays the search result again! .................. > and search result!
---------------------------------------------------------------------------------------------------------------------------------
; From point 6.2.3 onwards, the script could only be presented in abbreviated form due to size limitations for one topic!
---------------------------------------------------------------------------------------------------------------------------------
;  Option: Create BOOKMARKS in the .ahk scripts for lines with nos. 41-47, 63, 64, 164
;  - EmEditor Pro -> Create/delete bookmarks (Ctrl+F2): Possible block by block, i.e. select several lines, assign bookmarks!
;    Filter (Buttons)/Filter toolbar: "[ALT+L] Bookmarked/Unbookmarked Lines Only" -OR- "F2", "SHIFT+F2" to show only Parameters!
;  - Notepad++: Menu "Search" -> Bookmark.............................................. ("line-by-line")
;  - Notepad3:  Select line, CTRL+F2 Create bookmark; see: Menu "Edit" - "Bookmarks"... ("line-by-line")
6.2.1  SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.AHK

Code: Select all

; Transfer Everything GUI results to TC
; Authors: Horst.Epp & Ovg
; Last modified: 21.10.2021 (Changed RegEx by Ovg) ........ If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")

; https://www.ghisler.ch/board/viewtopic.php?t=75439 ...... Open Everything GUI results with TC LOADLIST
; https://www.ghisler.ch/board/viewtopic.php?t=75417 ...... LOADLIST command and UTF8 file lists
; https://www.voidtools.com/forum/viewtopic.php?f=4&t=10594 Send ResultsList to Total Commander

; Build AutoHotkey_L
; Build x64
; Build Kill=true
; Build Zip=false
; Build Run=true

#NoEnv
;#Persistent
#SingleInstance Force
SetBatchLines, -1

; Create / read .ini file settings
SetTitleMatchMode, RegEx
iniFile := RegExReplace(A_ScriptFullPath, "(ahk|exe)$", "ini")

if not (FileExist(iniFile)) {
    iniContent :="
    (( LTrim
        [General]
	; DestinationFile
        ;    Where to save the output (Full path to DestinationFile.txt)
        ; EverythingColumnPositions (Default: 2,1)
	;    The columns 'Name' and 'Path' must be visible in the Everything GUI window
        ;    The first value is the position of the 'Path' column
        ;    The second value is the position of the 'Name' column
	; CloseEverything (Default 1 for YES; 0 for NO)
	;    Should Everything GUI window be closed after transferring search results to TC
	; UseInstance (Empty for default instance)
        ;    Name of the Everything instance to be used for closing the GUI window

; The contents of the following lines must be adjusted if necessary, e.g. path and parameter adjustments.
;********************************************************************************************************
        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
;********************************************************************************************************

    )"
    FileAppend, % iniContent, % iniFile, UTF-16
}
IniRead, DestinationFile, % iniFile, General, DestinationFile, %A_Space%
IniRead, EverythingColumnPositions, % iniFile, General, EverythingColumnPositions, 2`,1

IniRead, AddEndSlash, % iniFile, General, AddEndSlash, 1
IniWrite, %AddEndSlash%, % iniFile, General, AddEndSlash
IniRead, CloseEverything, % iniFile, General, CloseEverything, 1
IniWrite, %CloseEverything%, % iniFile, General, CloseEverything
IniRead, UseInstance, % iniFile, General, UseInstance, %A_Space%
IniWrite, %UseInstance%, % iniFile, General, UseInstance

IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"

DestinationFile           := ResolveEnvVars(DestinationFile)
EverythingColumnPositions := StrReplace(EverythingColumnPositions, " ")

; Force error if none is given (or path doesn't exist)
SplitPath, DestinationFile, , dstPath
if (DestinationFile = "" || !InStr(FileExist(dstPath), "D")) {
    Msgbox, 16, Fatal error, Destination file definition is missing or illegal named !
    Return
}
if (EverythingColumnPositions = "" || !InStr(EverythingColumnPositions, ",")) {
    EverythingColumnPositions := "2,1"
}

columnArray := StrSplit(EverythingColumnPositions, ",")

hWnd := WinExist("ahk_exe Everything(?:\d\d)*\.exe")

if hWnd
{
  ControlGet, winContent, List, , SysListView321, % "ahk_id" hWnd

  if (winContent)
  {
    fullContent := ""
;   Loop over row(s)
    Loop, Parse, winContent, `n
    {
      rowID := A_Index
      path  := ""
      name  := ""
      full  := ""
      Bad := 2
;     Loop over column(s)
      Loop, Parse, A_LoopField, % A_Tab
      {
        colID   := A_Index
        content := A_LoopField
        If (colID > columnArray[1] And colID > columnArray[2])
        {
          Break
        }
        Else
        {
          If (colID = columnArray[1])
          {
;	    If !RegExMatch(content,"i)^[a-z]:|\\\.*?\\")
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
            {
              Break
            }
            path := content
            Bad -= 1
            If !RegExMatch(path,"\\$")
            {
              path := path . "\"
            }
          }
          Else if (colID = columnArray[2])
          {
            If content is Space
            {
              Break
            }
            name := content
            Bad -= 1
          }
        }
      }
      If (Bad == 0)
      {
        full        := path . name
        If InStr(FileExist(full), "D")
        {
          if (AddEndSlash == 1)
          {
            if !RegExMatch(full,"\\$")
            {
              full := full . "\"
            }
          }
          Else
          {
            If RegExMatch(full,"\\$")
            {
              full := SubStr(full,1,StrLen(full)-1)
            }
          }
        }
        fullContent .= full "`n"
      }
    }
    fullContent := RegExReplace(fullContent,"\R$","")
    If (FileExist(DestinationFile))
      FileDelete, % DestinationFile

        FileAppend, % fullContent, % DestinationFile, UTF-16

	DestinationDir := SubStr(DestinationFile,1,InStr(DestinationFile, "\",,-1))
	Run %TotalCmd% /O /T /S %DestinationDir%
	If (CloseEverything) {
             run %Everything% -instance "%UseInstance%" -close
	}
    }
    Else
;   Empty search result
    {
      Msgbox, 16,, Search result is Empty, Nothing to do ...
    }
; No Everything window visible
} Else {
    Msgbox, 16, Fatal error, Everything window does not exist!
}
SetTitleMatchMode, 1
return

; ==================================
; = GOTO: FUNCTIONS - ResolveEnvVars
; ==================================
; http://www.autohotkey.com/board/topic/40115-func-envvars-replace-environment-variables-in-text/#entry310601
ResolveEnvVars(str) {
    if sz := DllCall("ExpandEnvironmentStrings", "uint", &str, "uint", 0, "uint", 0)
    {
        VarSetCapacity(dst, A_IsUnicode ? sz * 2 : sz)
        if DllCall("ExpandEnvironmentStrings", "uint", &str, "str", dst, "uint", sz)
            return dst
    }
    return str
}
6.2.2  SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_TAB-Search_result_(A)_(DEFAULT)_AltGr-D.AHK

Code: Select all

; Transfer Everything GUI results to TC
; Authors: Horst.Epp & Ovg
; Last modified: 21.10.2021 (Changed RegEx by Ovg) ........ If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")

; https://www.ghisler.ch/board/viewtopic.php?t=75439 ...... Open Everything GUI results with TC LOADLIST
; https://www.ghisler.ch/board/viewtopic.php?t=75417 ...... LOADLIST command and UTF8 file lists
; https://www.voidtools.com/forum/viewtopic.php?f=4&t=10594 Send ResultsList to Total Commander

; Build AutoHotkey_L
; Build x64
; Build Kill=true
; Build Zip=false
; Build Run=true

#NoEnv
;#Persistent
#SingleInstance Force
SetBatchLines, -1

; Create / read .ini file settings
SetTitleMatchMode, RegEx
iniFile := RegExReplace(A_ScriptFullPath, "(ahk|exe)$", "ini")

if not (FileExist(iniFile)) {
    iniContent :="
    (( LTrim
        [General]
	; DestinationFile
        ;    Where to save the output (Full path to DestinationFile.txt)
        ; EverythingColumnPositions (Default: 2,1)
	;    The columns 'Name' and 'Path' must be visible in the Everything GUI window
        ;    The first value is the position of the 'Path' column
        ;    The second value is the position of the 'Name' column
	; CloseEverything (Default 1 for YES; 0 for NO)
	;    Should Everything GUI window be closed after transferring search results to TC
	; UseInstance (Empty for default instance)
        ;    Name of the Everything instance to be used for closing the GUI window

; The contents of the following lines must be adjusted if necessary, e.g. path and parameter adjustments.
;********************************************************************************************************
        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
;********************************************************************************************************

    )"
    FileAppend, % iniContent, % iniFile, UTF-16
}
IniRead, DestinationFile, % iniFile, General, DestinationFile, %A_Space%
IniRead, EverythingColumnPositions, % iniFile, General, EverythingColumnPositions, 2`,1

IniRead, AddEndSlash, % iniFile, General, AddEndSlash, 1
IniWrite, %AddEndSlash%, % iniFile, General, AddEndSlash
IniRead, CloseEverything, % iniFile, General, CloseEverything, 1
IniWrite, %CloseEverything%, % iniFile, General, CloseEverything
IniRead, UseInstance, % iniFile, General, UseInstance, %A_Space%
IniWrite, %UseInstance%, % iniFile, General, UseInstance

IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"

DestinationFile           := ResolveEnvVars(DestinationFile)
EverythingColumnPositions := StrReplace(EverythingColumnPositions, " ")

; Force error if none is given (or path doesn't exist)
SplitPath, DestinationFile, , dstPath
if (DestinationFile = "" || !InStr(FileExist(dstPath), "D")) {
    Msgbox, 16, Fatal error, Destination file definition is missing or illegal named !
    Return
}
if (EverythingColumnPositions = "" || !InStr(EverythingColumnPositions, ",")) {
    EverythingColumnPositions := "2,1"
}

columnArray := StrSplit(EverythingColumnPositions, ",")

hWnd := WinExist("ahk_exe Everything(?:\d\d)*\.exe")

if hWnd
{
  ControlGet, winContent, List, , SysListView321, % "ahk_id" hWnd

  if (winContent)
  {
    fullContent := ""
;   Loop over row(s)
    Loop, Parse, winContent, `n
    {
      rowID := A_Index
      path  := ""
      name  := ""
      full  := ""
      Bad := 2
;     Loop over column(s)
      Loop, Parse, A_LoopField, % A_Tab
      {
        colID   := A_Index
        content := A_LoopField
        If (colID > columnArray[1] And colID > columnArray[2])
        {
          Break
        }
        Else
        {
          If (colID = columnArray[1])
          {
;	    If !RegExMatch(content,"i)^[a-z]:|\\\.*?\\")
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
            {
              Break
            }
            path := content
            Bad -= 1
            If !RegExMatch(path,"\\$")
            {
              path := path . "\"
            }
          }
          Else if (colID = columnArray[2])
          {
            If content is Space
            {
              Break
            }
            name := content
            Bad -= 1
          }
        }
      }
      If (Bad == 0)
      {
        full        := path . name
        If InStr(FileExist(full), "D")
        {
          if (AddEndSlash == 1)
          {
            if !RegExMatch(full,"\\$")
            {
              full := full . "\"
            }
          }
          Else
          {
            If RegExMatch(full,"\\$")
            {
              full := SubStr(full,1,StrLen(full)-1)
            }
          }
        }
        fullContent .= full "`n"
      }
    }
    fullContent := RegExReplace(fullContent,"\R$","")
    If (FileExist(DestinationFile))
      FileDelete, % DestinationFile

        FileAppend, % fullContent, % DestinationFile, UTF-16

	DestinationDir := SubStr(DestinationFile,1,InStr(DestinationFile, "\",,-1))
	Run %TotalCmd% /O /T /S %DestinationDir%
	If (CloseEverything) {
             run %Everything% -instance "%UseInstance%" -close
	}
    }
    Else
;   Empty search result
    {
      Msgbox, 16,, Search result is Empty, Nothing to do ...
    }
; No Everything window visible
} Else {
    Msgbox, 16, Fatal error, Everything window does not exist!
}
SetTitleMatchMode, 1
return

; ==================================
; = GOTO: FUNCTIONS - ResolveEnvVars
; ==================================
; http://www.autohotkey.com/board/topic/40115-func-envvars-replace-environment-variables-in-text/#entry310601
ResolveEnvVars(str) {
    if sz := DllCall("ExpandEnvironmentStrings", "uint", &str, "uint", 0, "uint", 0)
    {
        VarSetCapacity(dst, A_IsUnicode ? sz * 2 : sz)
        if DllCall("ExpandEnvironmentStrings", "uint", &str, "str", dst, "uint", sz)
            return dst
    }
    return str
}
6.2.3  SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_TAB-Search_result_(L)_AltGr-J.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /T /L=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.4  SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_TAB-Search_result_(L)_AltGr-K.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /T /L=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.5  SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_TAB-Search_result_(R)_AltGr-N.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /T /R=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.6  SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_TAB-Search_result_(R)_AltGr-M.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /T /R=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.7  SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /S %DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.8  SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_AltGr-X.AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /S %DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.9  SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-....AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /L=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.10  SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_AltGr-....AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /L=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.11  SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_AltGr-....AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 0
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /R=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
6.2.12  SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_AltGr-....AHK

Code: Select all

        DestinationFile = C:\Tools\Totalcmd\EV-Results\EV-Results.txt
        EverythingColumnPositions=2,1
        AddEndSlash = 1
        CloseEverything = 1
        UseInstance =
        Everything = C:\Tools\Everything\Everything64.exe
        TotalCmd = C:\Tools\Totalcmd\TOTALCMD64.EXE
IniRead, Everything, % iniFile, General, Everything, "C:\Tools\Everything\Everything64.exe"
IniRead, TotalCmd, % iniFile, General, TotalCmd, "C:\Tools\Totalcmd\TOTALCMD64.EXE"
            If !RegExMatch(content,"i)^(?:[a-z]:|\\\.*?\\)")
	Run %TotalCmd% /O /R=%DestinationDir%
             run %Everything% -instance "%UseInstance%" -close
 
6.3   BUTTONS for compiled AHK SCRIPTS (.exe)
6.3.1  SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.exe,2
AltGr + S  (QAP)|Tab "Search result:" in TC, EV-window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Script|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.2  SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_TAB-Search_result_(A)_(DEFAULT)_AltGr-D.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_TAB-Search_result_(A)_(DEFAULT)_AltGr-D.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_TAB-Search_result_(A)_(DEFAULT)_AltGr-D.exe,2
AltGr + D  (QAP)|Tab in TC, EV-window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Script|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 -> 16.|SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_TAB-Search_result_(A)_(DEFAULT)_AltGr-D.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.3  SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe,2
AltGr + Y  (QAP)|NO Tab "Search result:" in TC, Everything window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.4   SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_AltGr-X.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_AltGr-X.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_AltGr-X.exe,2
AltGr + X  (QAP)|NO Tab "Search result:" in TC, Everything window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-1_AltGr-X.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.5  SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_TAB-Search_result_(L)_AltGr-J.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe,2
AltGr + Y  (QAP)|NO Tab "Search result:" in TC, Everything window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_AltGr-Y.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.6   SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_TAB-Search_result_(L)_AltGr-K.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_TAB-Search_result_(L)_AltGr-K.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_TAB-Search_result_(L)_AltGr-K.exe
AltGr + K  (QAP)|Left: Tab in TC, Everything window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND_EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_TAB-Search_result_(L)_AltGr-K.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.7  SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-....exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-....exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-....exe
Left: NO Tab "Search result:" in TC, Everything window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-0_AltGr-....exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.8   SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_AltGr-....exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_AltGr-....exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_AltGr-....exe
Left: NO Tab "Search result:" in TC, Everything window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(L)_CloseEverything-1_AltGr-....exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.9   SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_TAB-Search_result_(R)_AltGr-N.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_TAB-Search_result_(R)_AltGr-N.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_TAB-Search_result_(R)_AltGr-N.exe,3
AltGr + N  (QAP)|Right: Tab in TC, Everything window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_TAB-Search_result_(R)_AltGr-N.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.10   SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_TAB-Search_result_(R)_AltGr-M.exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_TAB-Search_result_(R)_AltGr-M.exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_TAB-Search_result_(R)_AltGr-M.exe,3
AltGr + M  (QAP)|Right: Tab in TC, Everything window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND_EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_TAB-Search_result_(R)_AltGr-M.exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.11   SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_AltGr-....exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_AltGr-....exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_AltGr-....exe,3
Right: NO Tab "Search result:" in TC, Everything window: OPEN|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-0_AltGr-....exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
6.3.12   SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_AltGr-....exe

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_AltGr-....exe

%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_AltGr-....exe,3
Right: NO Tab "Search result:" in TC, Everything window: CLOSED|https://ghisler.ch/board/viewtopic.php?t=75439 Skript|https://ghisler.ch/board/viewtopic.php?f=3&t=56800 --> 16.|SEND-EV-RESULTS_to_TC-panel_(R)_CloseEverything-1_AltGr-....exe
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\

-1
 
8.  LINK collection
    Ctrl + click on link ...
LinksTitle/Remarks
https://ghisler.ch/board/viewtopic.php?f=3&t=53559Overview: View Mode | Auto Switch Mode | Custom columns view
viewtopic.php?t=75439Open Everything GUI results with TC LOADLIST
https://ghisler.ch/board/viewtopic.php?f=3&t=56800Search queries in TC using 'Everything'
  
https://www.voidtools.com/forum/viewtopic.php?f=4&t=10621; Add trailing backslash to name for folders;
https://ghisler.ch/board/viewtopic.php?p=406607#p406607 Backslash ***Detailed description*** -> Difference of 1 folder!
https://www.voidtools.com/forum/viewtopic.php?p=40529#p40529 Explanation: Search queries WITH/WITHOUT Backslash '\'
https://www.voidtools.com/forum/viewtopic.php?p=40610#p40610 TOTAL OVERVIEW(!) Search in Everything WITH/WITHOUT backslash '\'
https://www.voidtools.com/forum/viewtopic.php?f=12&t=9994&p=36621#folder_append_path_separatorINI setting in Everything
PARTLY OBSOLETE: [If necessary, carry out tests again] ... ) AddEndSlash = ... & change .ini files of script
viewtopic.php?p=406296#p406296 ) Everything: FOLDER_APPEND_PATH_SEPARATOR=
   
https://ghisler.ch/board/viewtopic.php?p=406619#p406619 EverythingColumnPositions= -> Details/discussion
EverythingColumnPositions=2,1 (default) EVERY CHANGE of the COLUMN ARRANGEMENT -> RESTART Everything!
EverythingColumnPositions=1,2 (Option) EVERY CHANGE of the COLUMN ARRANGEMENT -> RESTART Everything!
https://ghisler.ch/board/viewtopic.php?p=406266#p406266 Description of PARAMETERS and how to change the AHK-INI FILE;
Ovg: "While I was rewriting the script, I found out that ... if you change the order of the columns in EV you will have to write ...
the changes in ini file and then completely exit EV and ... launch it again so that the script will recognize the change".
  
https://www.voidtools.com/forum/viewtopic.php?f=4&t=10594 Send ResultsList to Total Commander - Horst.Epp
viewtopic.php?t=75417 LOADLIST command and UTF8 file lists 
https://www.voidtools.com/forum/viewtopic.php?p=40589#p40589Search results in status bar, e.g. xx objects (x files, x folders)
https://www.voidtools.com/forum/viewtopic.php?f=4&t=9915 Header (version no., instance and admin rights in title bar of 'EV')
   
https://www.quickaccesspopup.com/tag/shortcuts/ ) Quick Access Popup (QAP) Hotkeys; SYSTEM-WIDE Hotkeys/QAP: Open!
viewtopic.php?p=406233#p406233 ) -Everything window: CLOSED -> 1. Script + AltGr + D (QAP: Open!)
https://www.bilder-hochladen.net/files/big/lwdu-2k-06ed.png - QAP (Picture) ) -Everything window: OPEN    -> 2. Script + AltGr + S (QAP: Open!)
    
https://totalcmd.net/plugring/ultra_tc_editors.html Ultra TC Editors 6.42 Final - e.g. Button Bar Editor [Submenus] 
________________________________________________________________________________________

See also:
'Everything' - "Context Menu"
Send 'Everything' search result (file/folder) to Total Commander
Detailed descriptions for the use of 'Everything' => Total Commander including parameters for the context menu entries below:
https://www.voidtools.com/forum/viewtopic.php?p=31555#p31555

Code: Select all

'Everything' -> Menu "Tools" -> "Options..." -> "Context Menu"... 
Open (Folders) | Open Path | Explore Path

Hint:
Double-clicking on the path in 'Everything' opens Total Commander and positions the cursor either on a file 
or a folder (or displays the contents of the folder in Total Commander).


Windows 10 Pro (x64) Version 21H2 (OS build 19044.1387)
Intel(R) Core(TM) i7-4770 CPU @ 3.4OGHz, 16 GB RAM
TC 10.00 x64/x86 | 'Everything' 1.5.0.1285a (x64)
Search queries: TC <=> 'Everything' | Switching from Everything 1.4 to 1.5
Post Reply