Use `Go FOLDERCONTENT=move` in combination with `NEWTAB`

I wondered whether I can add an entry to the context menu to copy/move files easily by having a nested dropdown of destination folders. Turned out that's quite easy - amazing how DOpus is btw :blush: - see the first "Copy to Personal" item in the screenshot.

However, I often have the need to further work with the moved file, e.g. rename it, resize it if it's an image etc.

Thus:

  • Is it possible to use Go X:/ FOLDERCONTENT=move in combination with NEWTAB, so that in addition to the move-operation I get another tab opened with the destination where the file is moved to? I tried but it doesn't work, the file is moved, but no new tab is opened.
  • For more powerful actions, I wondered whether there's an option to get the result of Go X:/ FOLDERCONTENT and store it to a variable for further processing, without opening a new tab or doing the move? As in this pseudo-code:
selected_dest = Go X:/ FOLDERCONTENT   # returns the user-selected path
Go selected_dest NEWTAB
COPY selected-file-in-source TO selected_dest
do-some-more-with-the-copied-file

Try creating two separate user commands, then put them together in the proper sequence in a button.

Go supports embedded commands, e.g.

GO PATH=D:\test FOLDERCONTENT
[dopusrt /argsmsgbox Hello {filepath}]

You might need a script for "more powerful actions". An example is here:

For other's having this issue: should be possible with the current DOpus version, see @Jon's comment: Using `Go ... FOLDERCONTENT=move` and then `Show VIEWERCMD=next` does not work - #6 by Jon