Request: add a keyboard shortcut to run the context menu "Explore here" command that opens the selected file's folder in Explorer. I suggest ctrl+o as in Open. The context menu's "Explore here" works on all files including local .url files.
Background:
With AutoHotkey we can achieve this for most files by using FARR's control+C shortcut to copy a file's full path.
But that does not work on local .url files since for them FARR's ctrl+C copies the URL rather than the full path to the local file.
A non perfect workaround sends keys to open the context menu.
edit: clarified and added workaround in the AutoHotkey script
Background:
With AutoHotkey we can achieve this for most files by using FARR's control+C shortcut to copy a file's full path.
But that does not work on local .url files since for them FARR's ctrl+C copies the URL rather than the full path to the local file.
A non perfect workaround sends keys to open the context menu.
Code: ( autohotkey)
;control+o to open folder for selected file in FARR
#IfWinActive, ahk_exe FindAndRunRobot.exe
^o::
ControlGetFocus, cFocus, A
if (cFocus == "TNextGrid1")
{
clipboard =
send ^c
SplitPath, clipboard, , dir
If InStr( FileExist(dir) , "D")
Run % dir
;workaround for .url files where FARR's ctrl+C return the URL
;limitation: the context menu briefly flashes and send keys may fail
Else If InStr(clipboard, "://")
{
send +{AppsKey}
send e
}
}
return
#IfWinActiveedit: clarified and added workaround in the AutoHotkey script









