Access to full path of the file in lister

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
alexjak
Junior Member
Junior Member
Posts: 15
Joined: 2010-09-05, 14:27 UTC

Access to full path of the file in lister

Post by *alexjak »

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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7014
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

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
Post Reply