Two profile like google chrome

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
shamsudeen
Posts: 64
Joined: 05 May 2012 06:58

Two profile like google chrome

Post by shamsudeen »

Hi, i wonder if it has 2 work profile, for different kind of file management in tabs.. for different projects.

Thank you

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: Two profile like google chrome

Post by bossi »

it has no 1 click button for this

but you can use Tabsets to store and load the open Tabs
+ i use scripted column layout loading to quickly change context

shamsudeen
Posts: 64
Joined: 05 May 2012 06:58

Re: Two profile like google chrome

Post by shamsudeen »

bossi wrote: 17 Aug 2025 20:21 it has no 1 click button for this

but you can use Tabsets to store and load the open Tabs
+ i use scripted column layout loading to quickly change context
Will you please share the script and how to set that also.
thank you

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: Two profile like google chrome

Post by bossi »

Code: Select all

"_ : load_instance"{
                $script_ini = "Path to your ini file where you store some variables ";
                $method = popupmenu("work|pv|music"); // select the instance
                if $method == "work"{

		// restore dlobal  filter
		$FILTER = getkey("work" , "filter" ,$script_ini);
		filter $FILTER, 6;	
	
		// restore ghost	
		$GHOST = getkey("work"  , "ghost" ,$script_ini);
		ghost($GHOST,1);

		tabset("load", "work_1" , "1");	 
		tabset("load", "work_2" , "2");	 

		// tagload("<xydata>\tag.dat"); you can load different tag DB , i dont ... 

                 // write  Instance name to a button and load icon to another  button
		ctbicon("text:work", 20);
		/ctbicon("C:\_\icons\someicon.ico", 2);
                
               if $method == "pv"{ }

"_ : save_n_exit"{
	$script_ini = "Path to your ini file where you store some variables ";
	$instance = ctbicon(, 20);
	$instance = trim($instance,"text:");
	// store current Filters
	$GVF = trim(get("gvf")); 
	setkey $GVF , $instance, "filter" , $script_ini;
	$GHOST = ghost();
	setkey $GHOST , $instance, "ghost" , $script_ini;
	//store Tabsets
	tabset("save", , "1");	
	tabset("save", , "2");	
	exit;
}
like i said , its all just chaining together available features
most import is the tabsets ,,, they must be visible under "<xyroot>\Data\Panes"
+ Global and Ghostfilters if you need them

just an idea for you how it can be done ,

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: Two profile like google chrome

Post by bossi »

viewtopic.php?t=8691

here you get a dedicated session manager btw .. :D

shamsudeen
Posts: 64
Joined: 05 May 2012 06:58

Re: Two profile like google chrome

Post by shamsudeen »

bossi wrote: 17 Aug 2025 20:58

Code: Select all

"_ : load_instance"{
                $script_ini = "Path to your ini file where you store some variables ";
                $method = popupmenu("work|pv|music"); // select the instance
                if $method == "work"{

		// restore dlobal  filter
		$FILTER = getkey("work" , "filter" ,$script_ini);
		filter $FILTER, 6;	
	
		// restore ghost	
		$GHOST = getkey("work"  , "ghost" ,$script_ini);
		ghost($GHOST,1);

		tabset("load", "work_1" , "1");	 
		tabset("load", "work_2" , "2");	 

		// tagload("<xydata>\tag.dat"); you can load different tag DB , i dont ... 

                 // write  Instance name to a button and load icon to another  button
		ctbicon("text:work", 20);
		/ctbicon("C:\_\icons\someicon.ico", 2);
                
               if $method == "pv"{ }

"_ : save_n_exit"{
	$script_ini = "Path to your ini file where you store some variables ";
	$instance = ctbicon(, 20);
	$instance = trim($instance,"text:");
	// store current Filters
	$GVF = trim(get("gvf")); 
	setkey $GVF , $instance, "filter" , $script_ini;
	$GHOST = ghost();
	setkey $GHOST , $instance, "ghost" , $script_ini;
	//store Tabsets
	tabset("save", , "1");	
	tabset("save", , "2");	
	exit;
}
like i said , its all just chaining together available features
most import is the tabsets ,,, they must be visible under "<xyroot>\Data\Panes"
+ Global and Ghostfilters if you need them

just an idea for you how it can be done ,
Thank you . i try it

Post Reply