NotNull wrote: ↑Sun Dec 01, 2024 1:10 pm
Only void may respond?
No, I didn't mean it like that at all.
I always welcome your expertise!
NotNull wrote: ↑Sun Dec 01, 2024 1:10 pm
So try the following instead: ...
Thank you very much! Many thanks also to void!
Your code works perfectly!
Menu "Tools" > Options... > Advanced > Show settings containing:
custom >
custom_open_commands >
Value for custom_open_commands:
Code: Select all
[[{"name":"","type":"2","filter":"*.jpg;*.jpeg;*.psd","command":"$exec(\"C:\\totalcmd\\Tools\\IrfanView-portable-64bit\\IrfanView\\i_view64.exe\" \"%1\")"},{"name":"IrfanView","type":"2","filter":"*.jpg;*.jpeg;*.psd","command":"$exec(\"C:\\totalcmd\\Tools\\IrfanView-portable-64bit\\IrfanView\\i_view64.exe\" \"%1\")"},{"name":"MPC-HC64","type":"2","filter":"*.mp4;*.mov","command":"$exec(\"C:\\Program Files $(x86$)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe\" \"%1\")"},{"name":"","type":"2","filter":"*.7z;*.zip","command":"$exec(\"C:\\totalcmd\\TOTALCMD64.EXE\" /O /A /S \"%1\")"}]
This makes the following possible:
1. Double-clicking a
.PSD file, e.g. in Everything 1.5.0.1385a (x64) to
open the file in IrfanView.
- OR -
2. Right-clicking a
.PSD file, e.g. in Everything 1.5.0.1385a (x64) and clicking the “
IrfanView”
context menu item to
open the file in IrfanView.
________________________________________________
[{"name":"","type":"2","filter":"*.jpg;*.jpeg;*.psd","command":"$exec(\"C:\\totalcmd\\Tools\\IrfanView-portable-64bit\\IrfanView\\i_view64.exe\" \"%1\")"
},{"name":"IrfanView","type":"2","filter":"*.jpg;*.jpeg;*.psd","command":"$exec(\"C:\\totalcmd\\Tools\\IrfanView-portable-64bit\\IrfanView\\i_view64.exe\" \"%1\")"
},{"name":"MPC-HC64","type":"2","filter":"*.mp4;*.mov","command":"$exec(\"C:\\Program Files $(x86$)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe\" \"%1\")"
},{"name":"","type":"2","filter":"*.7z;*.zip","command":"$exec(\"C:\\totalcmd\\TOTALCMD64.EXE\" /O /A /S \"%1\")"
}]
_________________________________________________________________________________________________________
Notes: (Total Commander)
This
code (in the last row above) sets the
focus to a .7z or .zip file in the active
Total Commander panel:
[{"name":"","type":"2","filter":"*.7z;*.zip","command":"$exec(\"C:\\totalcmd\\TOTALCMD64.EXE\" /O /A /S \"%1\")"
}]
- after double-clicking the .7z or .zip file, e.g. in Everything 1.5.0.1385a (x64)
- after right-clicking the .7z or .zip file and selecting “Open” from the context menu, e.g. in Everything 1.5.0.1385a (x64)
- after double-clicking the path in Everything 1.5.0.1385a (x64) - SETTING needed (adjust the path if necessary ...):
Everything Options - 1.5.0.1385a (x64) > Context Menu > Open Path > $exec("C:\totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
This
code opens a .7z or .ZIP file in the active
Total Commander panel:
[{"name":"","type":"2","filter":"*.7z;*.zip","command":"$exec(\"C:\\totalcmd\\TOTALCMD64.EXE\" /O /S \"%1\")"
}]
- after double-clicking the .7z or .zip file, e.g. in Everything 1.5.0.1385a (x64)
- after right-clicking the .7z or .zip file and selecting “Open” from the context menu, e.g. in Everything 1.5.0.1385a (x64)
- AND -
additionally this
code can be used to set the
focus to a .7z or .zip file in the active
Total Commander panel
- after double-clicking the path in Everything 1.5.0.1385a (x64) - SETTING needed (adjust the path if necessary ...):
Everything Options - 1.5.0.1385a (x64) > Context Menu > Open Path > $exec("C:\totalcmd\TOTALCMD64.EXE" /O
/A /S "%1")
This
code opens a .7z or .ZIP file in File Explorer:
(This code is generally NOT needed for File Explorer, but only in connection with Total Commander).
[{"name":"Totalcmd","type":"2","filter":"*.7z;*.zip","command":"$exec(\"C:\\totalcmd\\TOTALCMD64.EXE\" /O /A /S \"%1\")"
}]
- after double-clicking the .7z or .zip file, e.g. in Everything 1.5.0.1385a (x64)
- AND -
the
same code sets the
focus to a .7z or .zip file in the active
Total Commander panel
- after right-clicking the .7z or .zip file and selecting “
Totalcmd” from the
context menu, e.g. in Everything 1.5.0.1385a (x64)
- after double-clicking the path in Everything 1.5.0.1385a (x64) - SETTING needed (adjust the path if necessary ...):
Everything Options - 1.5.0.1385a (x64) > Context Menu > Open Path > $exec("C:\totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
__________________________________________________________________________________
Tags: EN: Internal Associations (Everything Only), DE: Interne Verknüpfungen (nur in Everything)
Windows 11 Pro (x64)
Version 24H2 (OS Build 26100.2454) - 2024-11-21