[quote]These commands only work from a viewer toolbar, menu or hotkey – they will
have no effect if you try to run them in a Lister.[/quote]I'd suggest to make some of the new commands working from a lister. This would especially make sense for the arguments meta and mark which could be used to open the viewer with metadata panel and/or mark panel.
btw: the argument meta doesn't appear in the arguments list of the button editor and in Opus 12 Changes.pdf
But there doesn't seem to be a command to open the image viewer with metadata/mark panel. It possibly makes more sense to do this with new arguments for the Show command like Show META MARK.
When I open an image using the embedded command [Show VIEWERCMD=meta] the mark panel doesn't automatically open although there are marked images in the folder. Opening the mark panel manually or with an additional embedded command [Show VIEWERCMD=mark,view] shows an empty collection.
Opening the same image without using embedded commands shows the mark panel correctly with all marked images.
That's actually a by-product of the way the Show command works. Normally, it only shows the files you actually select (like any other command) - that is, if you click next/forward in the viewer, the only files in the list will be the ones you selected.
The option Preferences / Viewer / Behavior / Generate next/previous list (when opened via double-click) means that for double-click only, the viewer will actually generate this list with all the images in the folder, rather than just the one you double-clicked. There's currently no way to get that "auto-generate list" behaviour when launching the Show command manually.
I'll have a think about the best way to address this as it does seem like using the Show command manually should, at least now that the viewer is a lot "smarter" than it used to be, be consistent with double-click.
Playing around with embedded commands I found another issue with the Show command and marked images:
using Show VIEWERCMD=mark,view as embedded command doesn't work if a single file was selected. Opening a single marked image using the Show command without embedded command from the context menu or a button doesn't show the "star index" for the file. Both things are working fine if more than one file was selected.
Actually I was wrong about there being no way to get the "auto-generate list" behaviour when using the Show command directly; that's what the LISTSIBLINGS argument does. So if you change your function to the following I think it should work as desired: