# Project listers

**URL:** <https://resource.dopus.com/t/project-listers/3611>\
**Category:** Help & Support\
**Created:** [May 9, 2007, 2:15pm UTC](https://resource.dopus.com/t/project-listers/3611 "2007-05-09T14:15:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dh59](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/7ab992/32.png) [@dh59](https://resource.dopus.com/u/dh59)\
**Post date:** [May 9, 2007, 2:15pm UTC](https://resource.dopus.com/t/project-listers/3611/1 "2007-05-09T14:15:13Z")

</div>

What is the best way to open a new lister with a set of left and  
right tabs and a local toolbar?

I had this, `
   sync:dopusrt /cmd Go NEW LAYOUT=PJC
   sync:dopusrt /cmd Toolbar NAME=ABC_local LOCAL STATE=center TOGGLE
   sync:dopusrt /cmd GO TABGROUPLOAD=ABC OPENINLEFT
   sync:dopusrt /cmd GO TABGROUPLOAD=ABCData OPENINRIGHT`  
but i got the impression that the sync:dopusrt /cmd was no  
longer necessary so i tried, `  
   @sync
   Go NEW LAYOUT=PJC
   Toolbar NAME=ABC_local LOCAL STATE=center TOGGLE
   GO TABGROUPLOAD=ABC OPENINLEFT
   GO TABGROUPLOAD=ABCData OPENINRIGHT`  
but this opens the tabs and toolbar in the current lister then switches to a new lister.

I have one of these buttons each for several major projects. The  
toolbar and tabs differ among these projects. At least sort of.  
The are all basically the same except for the parent directory  
they start in (i.e., project ABC has tabs of folders in  
.../ABC/tab1, ABC/tab2,... and project XYZ has tabs of folders  
in .../XYZ/tab1, ABC/tab2,... Is there a better way to  
accomodate this?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [May 10, 2007, 7:46am UTC](https://resource.dopus.com/t/project-listers/3611/2 "2007-05-10T07:46:31Z")

</div>

You can save the tabs as part of the layout to reduce the button from four lines to two lines (open layout, open local toolbar).

You will still need the dopusrt line. dopusrt isn't needed for passing arguments to internal commands anymore in Opus 9 but it is still needed for things like this where you want to launch a command from one lister and have it affect another lister.

Try something like this:

`Go NEW LAYOUT=PJC
@sync: dopusrt /cmd Toolbar NAME=ABC_local LOCAL STATE=center TOGGLE`

If it's unreliable then you might need to add a delay between the two lines, so that the new lister has always finished appearing before the second line adds the toolbar to the active window. (If it hasn't finished appearing then the active window will still be the one that launched the command.)

---

<div class="post-metadata">

**Author:** ![dh59](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/7ab992/32.png) [@dh59](https://resource.dopus.com/u/dh59)\
**Post date:** [May 10, 2007, 12:17pm UTC](https://resource.dopus.com/t/project-listers/3611/3 "2007-05-10T12:17:47Z")

</div>

That works, i saved/loaded a lister style. I honestly dont see a clear conceptual distinction. On that, I used`
Go NEW
@sync dopusrt /cmd Toolbar NAME=ABT_local LOCAL STATE=center TOGGLE 
@sync dopusrt /cmd Prefs STYLE=ABT `  
instead.

Is there a way to add tab groups to the style editor? Its a little cumbersome to add those in manually---especially if you already have tab groups set up for them. I could copy the data from

C:\Documents and Settings...\Directory Opus\TabGroups

but if i update the tab group i still have to update the style. Maybe i am missing something...

Thanks for your reply!

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [May 10, 2007, 12:29pm UTC](https://resource.dopus.com/t/project-listers/3611/4 "2007-05-10T12:29:41Z")

</div>

The main difference between styles and layouts is that Layouts can save/load more than one lister (window) while styles only affect one lister (window).

You don't have to define the tabs via the Preferences dialog. You can also set up a lister how you want it and then right-click the Styles tabbar and chose Add Style. That seems to store the current folder tabs as part of the style.

Saving a layout will also store the current folder tabs into the new layout automatically.

---

<div class="post-metadata">

**Author:** ![dh59](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/7ab992/32.png) [@dh59](https://resource.dopus.com/u/dh59)\
**Post date:** [May 11, 2007, 5:24pm UTC](https://resource.dopus.com/t/project-listers/3611/5 "2007-05-11T17:24:26Z")

</div>

> [@](#):
>
> If it's unreliable then you might need to add a delay between the two lines

How?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [May 11, 2007, 8:30pm UTC](https://resource.dopus.com/t/project-listers/3611/6 "2007-05-11T20:30:09Z")

</div>

You can use the "ping" hack to add a delay, like in the horrible button I posted in [this thread](https://resource.dopus.com/t/how-to-close-a-tab-other-than-current-one/3593/1). Maybe there are better ways...

PS: I just noticed that I missed out the : from @sync: in my example. I've edited my post. (I'm not sure if the : is strictly required but that's what the docs say so it should probably be used.)

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [May 17, 2007, 4:35am UTC](https://resource.dopus.com/t/project-listers/3611/7 "2007-05-17T04:35:15Z")

</div>

Sorry I haven't had a chance to look at this yet.

The problem is that the newly created Lister does not become the source Lister, and so the Toolbar command continues to act on the existing Lister.

Try the following:

`Go NEW=source LAYOUT=PJC
Toolbar NAME=ABC_local LOCAL STATE=center TOGGLE`

No need for syncs or dopusrt 🙂

(leo I'm looking at you 🙂 )
