More special tokens

Q & A for the old 2X Explorer file manager. For other topics, please use the corresponding forum.

Moderators: fgagnon, nikos, Site Mods

Post Reply
tahir
Member
Member
Posts: 13
Joined: 2003 Apr 19, 08:47

More special tokens

Post by tahir »

What is the name of the token for the the name of the file in inactive pane?
$N always substitues the fullname of the file in active pane.

Thanks.
Starsurfer
Bronze Member
Bronze Member
Posts: 109
Joined: 2002 Feb 23, 23:51
Location: Atlantis

Post by Starsurfer »

there isn't one....

could you give an example of what your trying to do.....?

usually the files worked on are in the active pane...
User avatar
nikos
Site Admin
Site Admin
Posts: 15806
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

of course i could add one, but would it be really useful? Moreover there would need to be many of them to mirror all the available names in the active pane like N/B/E/F etc. Would all this clutter be justified?
tahir
Member
Member
Posts: 13
Joined: 2003 Apr 19, 08:47

Post by tahir »

I want to define a tool (wincmp3) to compare text files selected in both panes, with different names.

...\Compare It!\wincmp3.exe $L\$N $R\$??

Nikos, for the inactive pane, a single one to return full path of the selected file would be enough, for me of course.

I will accept even one starting with €. :)


Thanks.
User avatar
nikos
Site Admin
Site Admin
Posts: 15806
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

i'll have a think about it
if there's just one token for the inactive focus then it has to be something that holds the full path. On the other hand it would only be useful for the normal window (i.e. not for the scrap that doesn't have the concept of a "current folder")

so perhaps the best thing would have to have this $Q token that holds the fullname (no path) of the inactive view focused item, which will only be useful for the main window in dual mode.

note that already the $L/R/I are only valid for the main window. Any attempt to use them in a scrap frame context (either addressbar command or script) will be in vain since they are just ignored
tahir
Member
Member
Posts: 13
Joined: 2003 Apr 19, 08:47

Post by tahir »

Thanks Nikos,

A $Q token, as you described, will do everything for me together with $R.

Regards.
User avatar
nikos
Site Admin
Site Admin
Posts: 15806
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

ok, it should be there for x.32
Post Reply