Hi,
The full name of file opened currently in lister is visible in lister's window title, but there is no way to access it ... would be great to have a menu item to copy it to the clipboard or something.
It is possible to access just the file name by selecting "Save As" and then copying file name from the dialog box, but it is pretty awkward too, IMO.
Regards,
Alex
Access to full path of the file in lister
Moderators: Hacker, petermad, Stefan2, white
You can use Autohotkey for this.
The following example starts an editor but you can of course just copy the path into the clipboard:
;; F4 starts PSPad with current file in TCs lister
#IfWinActive ahk_class TLister
~F4::
WinGetTitle, title
left := InStr(title, "[")+1
right := InStr(title, "]")-left
StringMid, listerpath, title, left, right
WinClose, ahk_class TLister
Run, %ProgramFiles%\PSPad\PSPad.exe "%listerpath%"
Return
#IfWinActive
The following example starts an editor but you can of course just copy the path into the clipboard:
;; F4 starts PSPad with current file in TCs lister
#IfWinActive ahk_class TLister
~F4::
WinGetTitle, title
left := InStr(title, "[")+1
right := InStr(title, "]")-left
StringMid, listerpath, title, left, right
WinClose, ahk_class TLister
Run, %ProgramFiles%\PSPad\PSPad.exe "%listerpath%"
Return
#IfWinActive