Page 1 of 1

drag folder from list to tab area

Posted: 11 Apr 2010 03:25
by Joso
I think it would be cool to be able to drag a folder from the list area of either pane to the tab area of either pane and have it "stick" and open up a new location on the pane it was dragged to.

(mimicing Total Commander's CTL-SHFT-L or R CURSOR function) I've set up ALT-SHIFT-L and R CURSOR keys to run the following code: $p = <focitem>; focus "PI"; goto $p; focus "PI"

So the focused folder pops up as the location on the other pane. (I do this often)

Still think it would be neat to be able to do it with the mouse. This program is so intuitive I was a little surprised when I tried to do it and it didn't work. Spoiled I guess.

Joe

Re: drag folder from list to tab area

Posted: 11 Apr 2010 10:02
by Stefan
Joso>$p = <focitem>; focus "PI"; goto $p; focus "PI"
Interesting :D

Joso>Still think it would be neat to be able to do it with the mouse.
Do you know you can use your script from an own tool bar button and from an catalog entry?
So you can execute it by an mouse click.

Brain storming:
Shift + Click opens already an folder from list view (or e.g. history or favorites) into an new tab.
So maybe Shift+CTRL+Click should open this into an new tab of the other pane?

AND / OR
Shift+Click on "Panes > Go Here In Other Pane" should respect an selected folder if any is selected.


---
EDIT:

i found this:
admin wrote:To browse a folder in the inactive pane use Alt+Click in the Tree.
To open a folder in a new tab in the inactive pane use Shift+Alt+Click.
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=3912

Re: drag folder from list to tab area

Posted: 11 Apr 2010 16:44
by Joso
Morning Stefan - I'm still at it today.

I see that shift-double click puts the selected folder on a new tab in the current pane. (I hate using the mouse and the keyboard at the same time - so I have an AHK assignment to put SHIFT-L CLICK on the middle mouse button - or the wheel - I find this useful in extending a selection of text or a list of files without having to reach for the keyboard - by the same token, when I'm typing away, I like to be able to do everything from the keyboard and leave the mouse alone)

I note also that you can drag a tab from one pane to the other, and clone the current tab by double clicking the blank tab area, (and get a context menu from rt clicking the current tab) but that seems to be about all the mouse functionality the tab bar offers. The program doesn't really take advantage of the other pane.

And yes, I've seen how you can run the same code from a catalog item, a UCD menu option, a user defined button, or a keyboard assignment (or a favorites item!) - Overkill if you ask me. I tend to learn one way to get to where I want to go and then stop thinking about it. (Probably why we're still stuck on NC function keys eh)

>>Shift+Click on "Panes > Go Here In Other Pane" should respect an selected folder if any is selected.
- The present function is easier to do by dragging the tab from one pane to the other (without having to use the kb and the mouse at the same time) - and "here" should be configurable

This morning I'm exploring the FIND and the LOADSEARCH functions - I'd like the script to load a pre-defined search template and go straight to where I left off the last time the template was used (in the FIND FILES>CONTENTS info panel with the focus in the text area or popping in a search string entered by the user) - So far I see the LOADSEARCH function operates invisibly - and the TOOLS>LIST MANAGEMENT Find options don't include a file contents search - Usually, I'm looking for a specific name or a number in a dir containing word docs named by file# - any ideas?

Joe