I would like to save the FPCA summaries automatically using JSL.
It seems I need to script the actions by clicking on the menu options.
So far, I can create the model with the using this script FPCA
// → Data Table( "Fermentation Process" )
Open( "$SAMPLE_DATA/Functional Data/Fermentation Process.jmp" );
Functional Data Explorer(
Y( :Ethanol ),
X( :Time ),
ID( :BatchID ),
Data Processing( Align 0 to 1 ),
Direct Functional PCA(
Functional PCA(
1,
FPC Profiler(
1,
Confidence Intervals( 1 ),
Term Value(
Aligned Time( 0.5, N Levels( 100 ), Lock( 1 ), Show( 1 ) ),
FPC 1( 0, Lock( 0 ), Show( 1 ) ),
FPC 2( 0, Lock( 0 ), Show( 1 ) ),
FPC 3( 0, Lock( 0 ), Show( 1 ) ),
FPC 4( 0, Lock( 0 ), Show( 1 ) ),
FPC 5( 0, Lock( 0 ), Show( 1 ) )
)
)
)
)
)
Using JMP16.1 Pro.
If you mean these Function Summaries here:
Make into data table:

Edit table script:

Check script and copy paste part you are interested in:

Then editing that script should get you to more robust solution.
Running the generated script will stop and ask you for some options.
Can you automate accepting the options as well?
They all work except "Save formulas"

Try adding the "Save Summaries" command inside the Direct Functional PCA call. I hope this helps!
Open( "$SAMPLE_DATA/Functional Data/Fermentation Process.jmp" );
Functional Data Explorer(
Y( :Ethanol ),
X( :Time ),
ID( :BatchID ),
Data Processing( Align 0 to 1 ),
Direct Functional PCA(Save Summaries)
);