Page 1 of 1

Swap panes

Posted: 09 Sep 2009 15:24
by kinook
Is there a command to swap the selection with dual panes?

Re: Swap panes

Posted: 09 Sep 2009 16:37
by Stefan
Do you mean something like "Store selection of files" / "Load Selection to select files" ?

Re: Swap panes

Posted: 09 Sep 2009 16:46
by kinook
AB Commander has a Panel -> Swap panels menu item to exchange the selection in the two panes. Was wondering if that capability existed in XYPlorer.

Re: Swap panes

Posted: 09 Sep 2009 17:13
by Stefan
There is no such feature right now.

Jacky wrote an script to save and restore selections, but he use absolute paths.
http://88.191.26.34/XYscripts/script/selections

As workaround this script could be from use if you would edit the path in the script.ini by hand:
1 - Save selection
2 - Edit X:\path\right\=File1|File2|... to Z:\path\left\=File1|File2|...
3 - Load selection

(or maybe Jacky is willing to improve his script?)
EDIT: i would use this myself too.
I have use this with TC a few times in the past
to always select the same files every few days (regardless of the path!)
or to select in one pane all files to select very this files in the other, with much more files in it, pane.

Re: Swap panes

Posted: 09 Sep 2009 18:38
by TheQwerty
I'm still not sure what you actually mean.. but give this script a try:

Code: Select all

"Panes: Swap Tabs"
  #805; //Move Tab to Other Pane
  #1060; //Open Previous Tab
  #805;

Re: Swap panes

Posted: 06 Jan 2010 13:57
by little titty
Hey thanks TheQwerty
just set up an icon on the toolbar that runs your script and it comes in handy