I made two new actions for my archive filetype, one for the context menu and one for the drop menu.
Both actions do the same thing, extract the archive to a new folder with the archive name without extension. This works fine.
After the action is done extracting the files to the new folder I want that folder to be selected, so I used the select command to make that happen.
For the context menu action I used this command: Select "{filepath$|noext}" MAKEVISIBLE
This also works fine.
For the drop menu, I knew I couldn't use "{filepath$|noext}", so I used "{d}\{o|noext}" instead.
Making the command: Select "{d}\{o|noext}" MAKEVISIBLE
And even though the files do get extracted where I want them in the new folder, the new folder does not get selected afterwards.
I checked "{d}\{o|noext}" with the Clipboard SET command and it does hold the correct path to the new folder.
Thanks, that almost works.
I do have to change it to:
Go PATH="{d}\{o|noext}" OPENCONTAINER OPENINDUAL
Set SOURCE=toggle
Then the new folder does get selected, but Dopus opens a new dual lister to do it.
I want the new folder to get selected in the already open tab I dragged my archive to (probably should have said that in the question ).
OPENINDEST instead of OPENINDUAL might work. If not, it may not be possible (at least without a script that finds the destination file display based on the path).