How to include your App in an IMatch menu

Started by Mario, December 10, 2018, 02:01:47 PM

Previous topic - Next topic

Mario

Hi,

I have updated the docs and the link points feature is now public:

https://www.photools.com/dev-center/doc/imatch/tutorial-app-json.html

This feature allows you to add your apps to many IMatch menus, including the File Window context menus.

Even, gasp, into the File Window Toolbar! IMatch automatically uses the app icon for the toolbar button. And the app description for the tooltip.



The Metadata Mechanic in the File Window toolbar. Code in the app.json of the Metadata Mechanic for this test:

"linkPoints" : {
    "toolbarFileWindow" : {
        "name": {
            "en": "Run the Metadata Mechanic App...",
            "de": "Die Metadata Mechanic App starten..."
        }
    }
}


I apologize for the somewhat sub-optimal quality of the icons. The 3rd party user interface toolkit makes a mess when scaling images.

I'm not 100% sure that this works in the current release version (no harm in checking!) but it works in the upcoming release.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

JohnZeman

I just added the metadata mechanic app to the file window toolbar in version 2018.11.2 and it seems to work just fine. :)

Mario

Yeah, I thought so. It was just not official.

You can add all your own apps that way of course. Or in one of the menus.

For the stock apps (shipped with IMatch) this is currently not possible because they are replaced in each update (including the app.json).
This would require an additional mechanism, something in IMatch... or maybe an optional app-user.json which is retained during updates and allows users to 'add' to the app.json of the app.
Which could be an option in the App Manager or something...
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook