How to customize lister per project

I would like to customize my different open DO based on project. AI says this isn't possible. it suggests that the closest is the following.

  • create a button with this code Set LISTERTITLE "project_name — {sourcepath}" to change the title of the lister.
  • then save the lister as a lister layout to save the open tabs and title

I was using tab groups to save my different projects open tabs so the idea of saving listers is new but i can switch if i need to.

I would like to have a different title, colors, and open tabs based on the project. I get mixed up easily working on multiple projects at the same time and would like an easy way to see that i am on the wrong instance of opus. When directory structures are almost the same it is easy to make changes in the wrong lister.

Sounds like what you need actually is lister layouts.
A lister layout regroups multiple settings of a lister:

  • Is it single or dual pane?
  • Does it have the treeview(s) displayed
  • What tabs/folders are opened on each pane
  • ...

With that, you can configure a lister to match what you need for a specific project, save it as a layout giving it the name of your project, and then you can recall the whole lister for that project using the layouts menu (in the Settings menu).

You can even use a script I made to bring to front a lister based on its layout name if it's already opened (or force opening a new one, if you click the button holding CTRL): How to pass multi line commands correctly via DopusRT - #9 by PassThePeas.

If I understand you correctly, you are telling me to do as the AI suggested. Will your method allow me to change the colors per lister and the titles?

Titles, yes, but colors are defined for all Opus listers.
The only colors you'll be able to customize are the ones associated with the tab borders.

You can use Preferences / Folders / Folder Images to give different folders different background images or colors. That's a good way to add something visual that tells you which folders you're working in.

that's a really nice option