How to also activate (bring to front) DOpus when opening a path using dopusrt?

For the purpose of screencast recording using OBS, I've made a button on my StreamDeck that should open my video recordings folder in DOpus. Now the huge problem with StreamDeck is that it seems to open paths using Explorer … circumventing DOpus for some reason. So I had to make a custom command using dopusrt.exe, e.g:

"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /acmd Go "D:\Cap\SCR"

...which works nicely, albeit for one little niggle: it doesn't open/activate the lister (aka bring it to front). How can I accomplish that?

1 Like

2 Likes

@lxp You're a genius, like always. Can't believe how many times you've helped me out in here (Happy New Year to you Alexander!).

For reference, here's the full command example to use in StreamDeck or elsewhere for this purpose:
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /acmd Go /TOFRONT "D:\Capture\SCR"

EDIT: Or rather, it works from the CMD console as well as if I have StreamDeck's UI open and press the button, but as soon as I'm outside of SD's UI it only opens the path in DOpus but never brings it to front... Mysterious. (But that's a question not related to DOpus I guess, so nvm.)

2 Likes

Remove the / from /TOFRONT and move TOFRONT to the end. Currently, it looks as if you wanted to open an alias named /TOFRONT.

Thanks. Happy New Year to you, too :slight_smile:

2 Likes