Command line > Open Specific Group (tab)

Hi,
How do I invoke Dopus (via a command line - so that I can program a hotkey on my keyboard) to open one of my groups (i.e. by right clicking on a tab I see the different (tab-)groups that I have created).
Many thanks in advance.
Cheers,
L

The command would be like in this example: Go TABGROUPLOAD "My Tab Group" TABCLOSEALL=no.

You can find more details in the online help pages.

http://www.gpsoft.com.au/help/opus11/index.html#!Documents/Go1.htm

Thanks for the hint but I am still struggling...

When I type for instance in the Windows Run-Box : dopus.exe Go TABGROUPLOAD ""My Tab Group" TABCLOSEALL=no, Dopus does not open the specified Tab-group.

Please advice

You can use dopusrt.exe /acmd ... to run commands from outside of Opus, but you don't really need to.

You can configure hotkeys within Opus itself: Settings -> Customize Toolbars -> Keys.

Hi,

Thanks for the feedback. Good to know about creating hotkeys :slight_smile:

However... here is my scenario/situation. I am a keyboard-addict i.e. I am the most productive when typing (little no mouse usage).
There are scenarios, when I am typing that I want to open instantly a predefined tabgroup.
For this I use a program called PhraseExpress which will recognize keywords as I type them (I use this for many shortcuts but that is another story).
So when I type e.g. ibm! (ibm with an exclamation mark), phraseexpress recognizes this as a triggerword that should open Dopus with the tabgroup that deals with the different IBM folders on various network drives.

I tried invoking Dopus using the dopusrt.exe but Dopus does not open (I tried in vain opening Dopus using "dopusrt.exe" with some command switches from the Windows Run-Box and also from phraseexpress (using teh full path: "C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe")

Would it be possible to show an example on how to open dopusrt.exe from the Run-Box?

Cheers,

L

Following seems to work for me in Phrase Express:

>/home\dopusrt.exe /cmd Go TABGROUPLOAD "yourgroup" TABCLOSEALL=yes

/acmd is usually preferable to /cmd, but otherwise Abr's example above should be all you need, with the full path to dopusrt.exe you already have (since /home won't work outside of Opus).

Thanks for all the great advice.

We are getting closer :slight_smile:

I always assumed that dopusrt would open a Dopus window if Dopus was not already open. This seems to be not the case.
I could not understand what I was doing wrong. I only now realize that Dopus needs to be open before any dopusrt commands can be invoked (correct me if I am wrong).

So in order to open the specific tab I use in PEX the following commands:
• C:\Program Files\GPSoftware\Directory Opus\dopus.exe
• C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe /acmd GO TABGROUPLOAD "IBM" TABCLOSEALL=yes

This indeed opens my IBM tabs, however… BUT it also creates a .txt file in the last opened tab called “Clipboard text.txt” which contains the following line: /acmd GO TABGROUPLOAD "IBM" TABCLOSEALL=yes

Further suggestions wellcome

Opus doesn't have to be running, with this command:

"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /acmd Go NEW TABGROUPLOAD="IBM"

Great - works perfectly for me