I have a list of files in dopus. Among these files, there is a file name "layout.json" and other ".json" files.
I want to create a command in the context menu that, when I select this file, allows to activate a specific program in charge of the processing of this file.
What I have done is this, but it does not seem to work properly.
I created a command regarding the "json" files, for the context menu.
But this does not work properly. This program activates the external program for every "json" file I select and I want it to work only for the "layout.json" file (In case of activation for another "json" file, the external program reacts as an error).
So, how to do this? It seems quite simple but I do not find the right way to do it.