Another way: add << run
at the end of the code in the .jmpappsource file.
I like @pmroz approach to use the helper jsl code open(application.jmpapp)
This also solves my riddle how to include a jmp application the easiest way in a Jmp Add-In ... without hickups!
<jm:action type="text">open("$ADDIN_HOME(AddIn name)\Application.jmpapp")</jm:action>
Alternatives solutions:
- link the .jmpappsource file in the .jmpcust Add-In definition file
<jm:action type="path">$ADDIN_HOME(AddIn name)\Application.jmpappsource</jm:action>
(and add << run
at the end of the code) - link the .jmpapp file in the .jmpcust Add-In definition file
<jm:action type="path">$ADDIN_HOME(AddIn name)\Application.jmpapp</jm:action>
(and add << run
at the end of the code *)
Both alternatives are dangerous, because after every edit of the code the << run
has to be added again manually.
*) without the << run
at the end, even with .jmpapp file type no application is opened;
On the other hand: with the << run
at the end of the code, you will get 2 applications when you open the application directly via the .jmpapp file