Move Selected Tab to Destination

I bet this is simple, but I can't make it work. I just want to move a selcted folder to a new tab in the destination lister. I know moveselectedtab will keep me in the source but how do I get it then to the destination?

You can open the selected folder in the source, in a new tab in the destination, by editing the ALL FOLDERS file type events as indicated in the screen grab below.

1 Like

You could also try this

<?xml version="1.0"?>
<button backcol="none" display="icon" separate="yes" textcol="none">
	<function type="normal">
		<instruction>Go TABMOVE</instruction>
		<instruction>Set FOCUS=Dest </instruction>
		<instruction>Go TABSELECT=last </instruction>

Looks like two great options. Never would have thought of using the files Types editor, but that may save button space. I've copied the instructions from the button, xbprm, and am just about to test the button out. I don't know why I couldn't just copy the button text you've laid out there and pasted it to the tool bar as I usually do. DOpus wouldn't give me a paste option, though the xml code was on clipboard..?
thank you both.

If you want to move the actual tab from one side of the lister to the other than you can simply drag & drop it there. Just be sure to drag it by the icon, not the label.

Also, the reason the button code above didn't work before was that it was missing the line from the top. I've corrected the post so it should work properly now.

Here's a very simple command for opening the selected folder as a new tab in the destination side:


Oh drag n drop, very cool. Thanks for the button update also, Leo, and the nice code.

I just realised that you can also drag folders from the file display on to the empty part of the tab bar to open them as new tabs.

Wow, that's pretty darn handy. I love this program.

1 Like

Wow, just wow.
Not only do I have middle mouse button to open folder in new tab;
I now have Ctrl + middle mouse button to open folder in new destination lister tab.
Using the (double middle mouse button alternate method and) file type event: go NEWTAB OPENINDEST
This program. :fire: