Page 1 of 1
Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 17:07
by pnoah
I wonder if there might be a smooth way of sync-selecting a same named item in the second inactive pane by just one shortcut (without additional mouseclicks).
Right now the procedure I follow is to select an item (folder) in the active pane, switch to the inactive pane, hit Ctrl+Shift+S (being my keyboard shortcut for "Sync Select...") and mouseclick the 'Select Selected' Option to sync the selection with the other formerly active pane. This strikes me as being cumbersome to say the least, so let me ask as humble as a newcomer to this community is allowed to be:
Does this have to be a feature request or may there be other probably more suitable ways (scripts) for the above mentioned workflow?
Thank you in advance
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 17:18
by highend
Welcome to the club.
Code: Select all
selectitems <selitems |>, , 1, , "i";
Selects all items in the inactive pane (same name + ext, path is ignored) depending on which files are selected in the active pane.
The inactive pane's first item is not scrolled into view, though... Focus switching would be necessary to do that...
Solved: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 17:41
by pnoah
highend wrote:Welcome to the club.
Code: Select all
selectitems <selitems |>, , 1, , "i";
Selects all items in the inactive pane (same name + ext, path is ignored) depending on which files are selected in the active pane.
The inactive pane's first item is not scrolled into view, though... Focus switching would be necessary to do that...
There, an elegant solution within an hour.
Thank you so much! I mean it.
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 17:47
by highend
Within an hour? 11 minutes^^

Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 18:08
by pnoah
highend wrote:Within an hour? 11 minutes^^

Let's say, I just happen to be very careful inflating someone's ego in the process

,
though I admit you deserve every praise one could possibly think of.
Thanks again, mate.
Now, my job now it seems is to look deeper into the 'abyss' of scripting/automating within this fine software as it is.
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 19:17
by pnoah
May I add one additional question?
With your very help at this point my script looks like this:
Code: Select all
selectitems <selitems |>, , 1, , "i"; focus "P2";
It selects the same item in the inactive pane and switches the focus to the second pane, simply wonderful - but ..
imagine there are hundreds if not thousands of items.
How can I navigate/scroll automatically to the selected one?
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 19:30
by highend
Code: Select all
$items = <selitems |>;
focus "P2";
selectitems gettoken($items, 1, "|");
sel "+0";
selectitems $items;
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 19:39
by pnoah
A 'digital' beer is coming your way via paypal.
Outstanding support ...
THANK YOU!
Re: Dual Pane: Sync Select Variation Request
Posted: 04 Aug 2016 19:58
by highend