All attempts for "Record" & "Save as animated GIF" instruction via JSL ended with crash even with simpler script.
I've submitted crash report as advised from JMP technical support (Both JMP 17.0 & 17.2 crash. I'm using Windows 10).
names default to here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp")
dt << Graph Builder(
Size( 588, 528 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :sex ) ),
Elements( Heatmap( X, Y, Legend( 2 ) ) ),
Local Data Filter(
Conditional,
Add Filter(
columns( :age ),
Where( :age == 14 ),
Display( :age, N Items( 6 ) )
),
Animation( Animate Column( :age ) )
)
);
playbtn = Window("Big Class - Graph Builder")["Local Data Filter",TabPageBox(1),ButtonBox(2)];
recordbtn = Window("Big Class - Graph Builder")["Local Data Filter",TabPageBox(1),ButtonBox(6)];
// Test play
print("starting play test");
playbtn << click();
wait(2);
playbtn << click();
print("ending play test");
wait(2);
// Test record
print("starting record test");
recordbtn << set(1);
playbtn << click();
wait(2);
playbtn << click();
recordbtn << set(0);
print("ending play test");
Hopefully, JMP 18 will consider this improvement so that animated GIF can be recorded & saved automatically (since it can be done by clicking using hand without crash)