Page 1 of 1

Two profile like google chrome

Posted: 17 Aug 2025 19:25
by shamsudeen
Hi, i wonder if it has 2 work profile, for different kind of file management in tabs.. for different projects.

Thank you

Re: Two profile like google chrome

Posted: 17 Aug 2025 20:21
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

Re: Two profile like google chrome

Posted: 17 Aug 2025 20:40
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

Re: Two profile like google chrome

Posted: 17 Aug 2025 20:58
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 ,

Re: Two profile like google chrome

Posted: 18 Aug 2025 02:01
by bossi
viewtopic.php?t=8691

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

Re: Two profile like google chrome

Posted: 18 Aug 2025 04:07
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