ZTree.com  | ZEN  | About...  

 Index   Back

[Discuss] Navigating directly to a specific file   [Discuss]

By: Slobodan Vujnovic   Homepage   France  
Date: Feb 24,2018 at 09:07

I can't remember, and could not find it in help: is navigating
directly to a specific file possible with ZTree?

Does anybody have a need for this - jumping to a file from command
line and/or from within ZTree? Instantly, zero navigation.

Background: I've just created a file form the command line,

C:\Windows\System32\sleepstudy-report.html

and I want to View it from ZTree, without having to
navigate to it. I also sometimes grab full filespecs from
other file managers and tools and would like to have them
instantly in focus in ZTree.

[1] Pasting the above filespec into "f" says Error: Invalid filter
and stops.

[2] Pasting into '\' works until the "C:\Windows\System32\" part,
requiring hitting Enter and navigating to the file using the usual means.
So, ZTree knew how much of the input to keep and discard the rest,
but leaves some manual work for the user.

In case [2], it acts smart and helps the user somewhat; in case
[1], it is not very helpful.

What could be done in both cases is to analyze the full spec and
then - and only then - jump to that file, if it exists! Otherwise,
we may end up with the wrong file in focus (in the current dir, not
the one pasted into the prompt). If the exact spec does not exist,
the current behavior remains, although case [1] could be improved.

Just wondering if Kim could come up with a ZI way (Ztree Intelligence?)
to deduce what the user actually wants and put the requested file in focus?
Of course, without breaking macros and others areas I haven't considered.

379 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 10 users online (0 registered, 10 guests)
Index | Admin contact |   Forum Time: Sep 22, 2019 - 12:31 pm EDT  |  Hits:28,656,291  (1,133 Today )
RSS Feed