Keyboard shortcuts for dual pane up a level

Features wanted...
Post Reply
printedtopsntees
Posts: 32
Joined: 02 Oct 2012 00:20

Keyboard shortcuts for dual pane up a level

Post by printedtopsntees »

I tend to use Dual Pane a lot and am constantly clicking the Up button and finding, too late, that I have the wrong pane selected.

Would it be possible to have keyboard shortcuts to do this, for instance, Ctl+Q to move the left hand pane up one level and Ctl+W to move the right hand pane up a level. An alternative would be to have two up buttons but then I think there would be a need to duplicate more functions so it would just complicate things.

If I'm being dim and this is already possible then please move the post to the correct place so someone can tell me how.

Thanks

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Keyboard shortcuts for dual pane up a level

Post by highend »

You can create those buttons / assign keyboard shortcuts to scripts yourself:

Code: Select all

focus "P1"; #523;

Code: Select all

focus "P2"; #523;
One of my scripts helped you out? Please donate via Paypal

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Keyboard shortcuts for dual pane up a level

Post by PeterH »

But I'm afraid printedtopsntees maybe wouldn't want to change focus with this?

(Still possible, but a bit more complex...)
Win11 Pro 223H2 Gerrman

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Keyboard shortcuts for dual pane up a level

Post by highend »

Ic.

Left pane script:

Code: Select all

// Up one level (left pane)
	if(get("Pane") == 1){
		#523;
	} else {
		focus "P1";
		#523;
		focus "P2";
	}
Only slightly different for the right one:

Code: Select all

// Up one level (right pane)
	if(get("Pane") == 2){
		#523;
	} else {
		focus "P2";
		#523;
		focus "P1";
	}
One of my scripts helped you out? Please donate via Paypal

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Keyboard shortcuts for dual pane up a level

Post by PeterH »

:biggrin: :appl:
Win11 Pro 223H2 Gerrman

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Keyboard shortcuts for dual pane up a level

Post by Stefan »

printedtopsntees wrote:I tend to use Dual Pane a lot and am constantly clicking the Up button
and finding, too late, that I have the wrong pane selected.

Would it be possible to have keyboard shortcuts to do this,
for instance, Ctl+Q to move the left hand pane up one level
and Ctl+W to move the right hand pane up a level.
I just use the Backspace button for this.
And the TAB-key to switch panels (while the inactive is dimmed for me)

.

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Keyboard shortcuts for dual pane up a level

Post by kunkel321 »

My way of doing this is to have Config > Tab Settings > On Dbl-Click = Go Up.
(Clicking the tab does activate the Pane though).

It might be clever to use Highend's code and have a User Button on your toolbar set for left-click = left pane up, and right-click = right pane up... :P
ste(phen|ve) kunkel

printedtopsntees
Posts: 32
Joined: 02 Oct 2012 00:20

Re: Keyboard shortcuts for dual pane up a level

Post by printedtopsntees »

kunkel321 wrote:My way of doing this is to have Config > Tab Settings > On Dbl-Click = Go Up.
(Clicking the tab does activate the Pane though).
I just discovered this last night and applying the logic that Don wouldn't leave a function half finished found that shift+dbl click goes down.

This does what I want but I will look at the scripting options suggested and have a play.

Thanks everyone

p.s. Must learn to check more thoroughly before posting a wish. :oops:

Post Reply