I have a powershell script that runs ffmpeg for me on files selected in DOpus. This can run for several hours.
When the script is finished, I'd like to have DOpus reopened with the last manipulated file selected. I know how to open a folder, but not how to open this folder with a specific file selected.
What I do now at the end of my script is
Invoke-Item $baseDir
This opens the folder in Dopus, but obiously without file selected. There can be hundreds of files in this folder so if would be great if I could have the correct file already in view and selected.
Maybe I should use dopusrt, but I don't know if what I'm asking is possible.
I'd like to replicate what happens when using Everything and clicking on the folder column.