Code: Select all
focus P1; $p1_dir = "<curpath>";
focus P2; $p2_dir = "<curpath>";
focus P1; goto $p2_dir;
focus P2; goto $p1_dir;Code: Select all
focus P1; $p1_dir = "<curpath>";
focus P2; $p2_dir = "<curpath>";
focus P1; goto $p2_dir;
focus P2; goto $p1_dir;Code: Select all
"Swap Pane Locations"
$pA = "<curpath>";
Focus("PI");
$pI = "<curpath>";
Goto("$pA");
Focus("PI");
Goto("$pI");I think this does not work either.TheQwerty wrote:Give this a try and see if it's any better:Code: Select all
"Swap Pane Locations" $pA = "<curpath>"; Focus("PI"); $pI = "<curpath>"; Goto("$pA"); Focus("PI"); Goto("$pI");
I'm not sure this is a bug, this is known and how it works, probably even classified a feature. Also, on your UDC just check "On KeyUp" and - unless you keep your finger on Shift for a while - that should solve the problem...TheQwerty wrote:So this seems to be a bug in Goto, but you should be able to avoid it by not assigning a shortcut using Shift to this script.
Unfortunately On KeyUp doesn't wait for Shift to be up so it's just as useless as having it be triggered on KeyDown for this case.jacky wrote:I'm not sure this is a bug, this is known and how it works, probably even classified a feature. Also, on your UDC just check "On KeyUp" and - unless you keep your finger on Shift for a while - that should solve the problem...TheQwerty wrote:So this seems to be a bug in Goto, but you should be able to avoid it by not assigning a shortcut using Shift to this script.
yes, that's exactly right, I used shift-W for swapping the panels. now I understand why this is happening.TheQwerty wrote:I'm guessing you're assigning a hotkey to this UDC which contains Shift, am I right?
Shift+ the normal goto functions opens the location in a new tab, and I'm guessing Don forgot to ignore this situation when opening a location in a script.
So this seems to be a bug in Goto, but you should be able to avoid it by not assigning a shortcut using Shift to this script.
(This also explains why I couldn't get your's or mine to fail originally.)
Kind of...petersboulton wrote:Is it possible to MOVE a tab to the other pane?
Code: Select all
"Open Location In Inactive Pane"
$pA = "<curpath>";
#351; //Close Tab
Focus("PI");
#340; //Open Tab
Goto("$pA");
Focus("List");I'm sure it will come, but I think Don's taking a little time away from Dual Pane code to let the dust settle and mature a bit. Plus, to give the Single Pane lovers something in the updates.petersboulton wrote:Alternatively, how long will it be for dragging between panes to be implemented in core product? I'd have thought it is something everyone would want?
Sorry? Could you translate this into German, please?petersboulton wrote:...so I would expect there to be bigger fruit to pick for DP...
Entschuldigen Sie bitte! Sorry, I meant that given that DP was so new there would be more opportunities for significant enhancements (like dragging tabs between panes), whereas SP is so mature (having been around since the start) that the opportunity to add major new features must be much less.admin wrote:Sorry? Could you translate this into German, please?petersboulton wrote:...so I would expect there to be bigger fruit to pick for DP...
Ok, thanks.petersboulton wrote:Entschuldigen Sie bitte! Sorry, I meant that given that DP was so new there would be more opportunities for significant enhancements (like dragging tabs between panes), whereas SP is so mature (having been around since the start) that the opportunity to add major new features must be much less.admin wrote:Sorry? Could you translate this into German, please?petersboulton wrote:...so I would expect there to be bigger fruit to pick for DP...
I may be wrong in thinking that of course!
Either way, I cling to the opinion that dragging tabs between panes is something you would definitely expect from a DP file manager.
Hope my fruit analogy is clearer now - sorry for any confusion!
Pete
Code: Select all
"Open Location In Inactive Pane & Migrate List Settings"
$pA = "<curpath>";
Focus("PI");
#340; //Open Tab
Goto("$pA");
#1071; //Copy List Settings from Other Pane
Focus("PI");
#351; //Close Tab
Focus("PI");