Thanks to our customer @Lutz who directed us to an online forum post that shows how to make Total Commander work with RecentX. In the past we already posted how to make RecentX work with Directory Open (Dopus).
Basically, you would need to set an AutoHotkey script to run in Total Commander whenever a file/folder is opened from it.
RecentX monitors all items that are added to Windows Recent Documeents list. This is nothing but “\Microsoft\Windows\Recent” folder under AppData. If you open %appdata%\Microsoft\Windows\Recent from Windows start menu, you will get to the exact folder.
The following AutoHotkey script achieves this:
Target = %1%
EnvGet, APPDATA, APPDATA
LinkFile := APPDATA . "\Microsoft\Windows\Recent" . SubStr(Target, InStr(Target, "\", 0, 0)) . ".lnk"
FileCreateShortcut, %1%, %LinkFile%
To make any file type (e.g. “*.pdf”) that you want TC to create shortcuts for in the Windows ‘Recent’ folder run this script, use menu: “Files|Internal Associations” and add the file type. In the input box next to “Open”, put:
Thanks to @9kvD38n6 who posted this in the forum.