DO12 - Show VIEWERCMD

[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

There is already a command to open the metadata panel in a lister, and the mark panel only exists in the image viewer.

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.

I understand now. I misread the suggestion before. That makes sense.

In the next beta we'll make it so the Show command supports embedded commands, so you'll be able to do something like this:

Show
[Show VIEWERCMD=meta]

That's a really nice solution, thanks.

Working fine with Beta 12.0.3.0. Thanks for adding this feature.

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.

I understand the problem.

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.

It's the same issue. A file won't show as marked unless it's in the viewer's list of pictures.

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:

Show LISTSIBLINGS [Show VIEWERCMD=meta]

Yes, that's working for the cases mentioned above. Thanks.