Hello,
is it possible to open a new tab always in the first pane?
Currently it opens in first pane when started.
If XYplorer is already running it opens in the active/focused pane.
Thanks
Open tab always in first pane
Re: Open tab always in first pane
What exactly are you doing to invoke the new tab?
One of my scripts helped you out? Please donate via Paypal
Re: Open tab always in first pane
It is invoked from outside like clicking on a folder on the desktop.
Re: Open tab always in first pane
This would be a two step process...
Save this code as a .reg file:
Afterwards edit the .reg file and replace the XY installation and or script folder (if necessary) and the username "this_is_my_username" with your own.
Right click the .reg file and from the context menu select "Merge".
Afterwards create the file
and give it this content:
Save it and from then on it should work...
Save this code as a .reg file:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command]
@="\"C:\\Program Files (x86)\\XYplorer\\XYplorer.exe\" /feed=\"::perm $P_FLD='%1'; load 'C:\\Users\\this_is_my_username\\AppData\\Roaming\\XYplorer\\Scripts\\Open tab in pane1.xys';\""
Right click the .reg file and from the context menu select "Merge".
Afterwards create the file
C:\Users\this_is_my_username\AppData\Roaming\XYplorer\Scripts\Open tab in pane1.xys
and give it this content:
Code: Select all
perm $P_FLD;
focus "P1";
tab("new", $P_FLD);
One of my scripts helped you out? Please donate via Paypal
Re: Open tab always in first pane
Thank you very much!