Tabset - Script Request

Discuss and share scripts and script files...
Post Reply
nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Tabset - Script Request

Post by nerdweed »

A small script request. I don't know if I am the only one or does someone else feel this way that, both left and right click should populate the recent tabsets. Left click should open the tabset in pane 1 / active pane while right click should open the tabset in pane 2 / inactive pane.

Why - I often would move files from one location to another and am having tabsets created for them. With the current implementation of tabsets, I would have to click on the inactive pane, switch tabset, then switch back to the active pane and then do the file movement. And I often miss clicking on the other pane and instead open the tabset in the active pane.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Tabset - Script Request

Post by nerdweed »

Have written this script. Works fine. Improvements welcome.

Code: Select all

//The Tweak: no Click, Edit, Customize Toolbar should be set to 1
//CTBNoRClickDefaultCommands=1

"Tabsets"
	//1 for left click=left pane & right click=right pane. 0 for left click=active pane & right click=inactive pane
	$functionality=1 ; 
	$click=<get trigger> ;
	$pane=<get pane> ;
	if ($click==1 && $functionality==0 || ($pane==1 && $click==1 && $functionality==1) || ($pane==2 && $click==2 && $functionality==1)) {  
		button "tabsets" ;
	}
	else {
		Focus "PI" ;
		button "tabsets" ;
		Focus "PI" ;
	}	

Post Reply