Doubleclick on files to open in Max-Application

Johannes's icon

Hi,

I created an Application in Max under Windows and there I assigned the File-Extension to the Application-Exe.
What I would like to achieve is to invoke any kind of 'Open' - Command if this trigger is sent by Windows to the application. With Macintosh I will have the same problem, but the only thing I have to find out is what is triggered when opening an assigned file.
So far I totally cleared the maxinterface.json file inside my applications support-folder so it looks like this:

{ "interface" : {
    "commands" : [

        {
            "message" : "maxwindow",
            "label" : "Max Window",
            "target" : "max",
            "shortcut" : "M"
        }

        ],

    "menus" : [

        ],

    "menubar" : { 

    },

    "toolbars" : [
        {
            "id" : "maxwindow",
            "commands" : [ "maxclearall", " ", "sortbytime", " ", "dialog", " ", "reveal" ]
        }
    ]

}}

This is helpful because I can redesign my app-menu from inside with the menubar-Object.
But... I dont know if this is the right way to go?!

If anyone can help it would really help me a lot!

Best,
Johannes