Hello everyone,
thanks for the feedback. I could not find anything in the Add-In-Manager.
I guess an forced update might be an option - but I'm still trying to create an "variable" Add-In menu item.
And I think I found a workaround - if you execute the "addin.def" file within the addin directory, the menu items are updated.
So I created a .jsl file in the addin directory with the following lines:
//!
Delete Symbols();
NamesDefaultToHere(1);
PTH_ADDIN = Get Path Variable("ADDIN_HOME(com. ...)");
FN_ADDIN = Convert File Path(PTH_ADDIN || "addin.def", Windows);
If(File Exists(FN_ADDIN ),
Open(FN_ADDIN , JMP);
);
With the leading "//!" the script runs on opening.
I now check within my addinLoad.jsl file if/how the menu item should be changed and edit my ".jmpcust" file.
Afterwards I send a CMD to start/execute my .jsl file showed above -> the menu items are getting updated on startup.
Maybe there is a better way - however it works (and actually it's pretty fast).
BR, DG