I'd like to use XYplorer in the following scenario:
- Have one instance of XYplorer running containing all my opened tabs and remember them when I close this instance.
- Have one or more other instances of XYplorer running by starting them in single pane mode with no tabs open (like Windows File Explorer started with Win + E). When I close one of these, they should not store any opened tabs and not influence the tabs of my primary XYplorer session.
I've made an AHK script with two different keyboard shortcuts to open the respective 'sessions' each starting XYplorer with a different ini file. The problem is that they seem to share the same 'tab storage location' (don't know how tabs are actually stored), even though I have the second XY ini file configured to actually 'Don't save tabs'. The effect I'm experiencing is that when I close the 'Don't save tabs' instance it will 'clear' the stored tabs of my primary instance.
Is there any way (possibly a setting I'm missing) to do what I want?
Different tab sessions - how?
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Different tab sessions - how?
Try to pass not just different ini files but different app data paths.
FAQ | XY News RSS | XY X
-
phitsc
- Posts: 124
- Joined: 05 May 2009 12:21
Re: Different tab sessions - how?
That does the trick. Thanks!
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Different tab sessions - how?
How did you do this? Likephitsc wrote:That does the trick. Thanks!
Normal mode:
run XYplorer.exe /ini=X:\XYplorer\Data1\
single pane mode:
run XYplorer.exe /ini=X:\XYplorer\Data2\
?
-
phitsc
- Posts: 124
- Joined: 05 May 2009 12:21
Re: Different tab sessions - how?
yes, basically like that.
Here's my AHK script. Win + X will start the primary instance or make it active if already running. Win + Ctrl + X will start empty XYplorers. Maybe it would make sense to rename one of the ini files to make it more obvious in the Window Title that it's a different 'session'.
Here's my AHK script. Win + X will start the primary instance or make it active if already running. Win + Ctrl + X will start empty XYplorers. Maybe it would make sense to rename one of the ini files to make it more obvious in the Window Title that it's a different 'session'.
Code: Select all
#NoTrayIcon
#x::
Process Exist, XYplorer.exe
If ErrorLevel
{
SetTitleMatchMode 2
WinRestore XYplorer.ini
WinActivate XYplorer.ini
}
Else
{
Run %ProgramFiles%\XYplorer\XYplorer.exe /ini=XYplorer.ini
}
Return
#^x::
Run %ProgramFiles%\XYplorer\XYplorer.exe /ini=C:\Temp\XYplorer.ini
Return
#!x::ExitApp-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
XYplorer Beta Club