To close all other unlocked tabs and to save the XY's configuration I created a button on the toolbar with the following script:
#352; #193;
This does the job perfectly for the active tab. But is there some trick how to extend this to both tabs at the same time, with just one click?
How to run a script in/for both panes at the same time
Re: How to run a script in/for both panes at the same time
Code: Select all
#352; focus "PI"; #352; #193;
seltab; tab;
Re: How to run a script in/for both panes at the same time
Fantastic! Works like a charm
Many thanks, jupe.
I just made a small improvement for the focus to remain in the active pane:
#352; focus "PI"; #352; focus "PI"; #193;
Many thanks, jupe.
I just made a small improvement for the focus to remain in the active pane:
#352; focus "PI"; #352; focus "PI"; #193;