Go to Tree Command / Focus: Tree Command ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
xp10
Posts: 14
Joined: 16 Nov 2011 15:48

Go to Tree Command / Focus: Tree Command ?

Post by xp10 »

Hello,
I've been using XY for some months now, and I'm very pleased with lots of its functionality I got acquainted with yet, especially the renaming functions are very elaborate and useful (as are the tab functions, e.g., on which I rely a lot less though), and the backup / synch function is great indeed. Since shortkey assignment is available, I assigned F6 to "copy to other pane", F11 to "toggle between panes", and so on.

I've got one problem though, with key assignments: There is (originally F6) "Cycle focus in this sequence: Address Bar > Tree > List > Catalog." but that would make me 2 to 3 key pressings to switch from one of the panes (in 2 panes mode) to the tree, which cannot be it. What I'm missing, is a simple command "Go to tree" / "Focus: tree". Perhaps I simply overlooked it, but then, I searched the help file for 30 minutes.

I had a look into this forum also, but "+go +tree" got me 5132 results, with "go ignored", and "+focus +tree" got me more than three hundred results, so I gave up and felt free to post my question here.

Is there such a command assigneable to a shortkey, or could it be implemented, please?

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Go to Tree Command / Focus: Tree Command ?

Post by highend »

As an alternative, use scripting (as long as you have the pro version ofc) and a button with the desired shortcut.

focus("T"); // sets the current focus to the tree.

Look at the help file, Advanced Topics - Script Commands Reference - focus
One of my scripts helped you out? Please donate via Paypal

eil
Posts: 1875
Joined: 13 Jan 2011 19:44

Re: Go to Tree Command / Focus: Tree Command ?

Post by eil »

i think it can be useful for me too, except i'm going to use focus with A. but here is a question: how i send an End key in script, so after focusing address bar it deselects text and takes cursor to the end?
Win 7 SP1 x64 100% 1366x768|1900x1080

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Go to Tree Command / Focus: Tree Command ?

Post by Stefan »

Or take an look under
"Tools > Customize Keyboard Shortcuts"
Misc > Focus Functions > Focus Tree (Ctrl+Alt+T)

xp10
Posts: 14
Joined: 16 Nov 2011 15:48

Re: Go to Tree Command / Focus: Tree Command ?

Post by xp10 »

Hello Stefan,

Thank you very much for your help! Several times now, I've had problems with finding solutions that eventually have very well been there, XY is a program with a lot of hidden values. I even "searched" that "Misc." subtree in the keyboard assignments, but before the "Focus" part, there was a "Tree" part, in which I didn't find anything, so...

I didn't dare put my question into the "Suggestions" part of this forum, in case of it being hidden, not absent... and it's there, as so much is.

Thus, I've now assigned F10 to "Focus : Tree", and as said, F11 for me is the left/right pane toggle... whilst F12 is assigned to Alt-Tab (!) - makes sense if you do a lot of switching around.

Great help, Stefan, warmest thanks!

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Go to Tree Command / Focus: Tree Command ?

Post by Stefan »

U R welcome! Thanks for feedback.

Maybe you are interested in an way to find features more easy?

Try "Help / Make List of Commands..."

to get smtg like:
[...]
Miscellaneous / Focus Functions / Cycle Focus #1013 F6
Miscellaneous / Focus Functions / Focus Address Bar #1014 Alt+A, Ctrl+Alt+A
Miscellaneous / Focus Functions / Focus Catalog #1015 Ctrl+Alt+C
Miscellaneous / Focus Functions / Focus List #1016 Ctrl+Alt+L
Miscellaneous / Focus Functions / Focus Tree #1017 Ctrl+Alt+T
Miscellaneous / Focus Functions / Move Focused Item Into View #1012 Shift+Alt+F6
Miscellaneous / Focus Functions / Switch Focus between Files and Folders #1033 Ctrl+Alt+Home
Miscellaneous / Focus Functions / Focus First Selected Item #1048
Miscellaneous / Focus Functions / View First Selected Item #1049
[...]
Save this to an file and use an good text editor to parse that file...


HTH? :D

Post Reply