How is it possible to automate the output from platforms requiring input from a modal dialog box?
Below are two examples. The first works when specifying all options in the dialog box.
I would expect the second to work the same way if it is possible to specify all options. My guess is that some options are not using the right names or syntax (Jmp doesn't provide any debugging information unfortunately). See examples below (works in Jmp 14 EA 7)...
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
//This Works when all options in Save Document Matrix are specified:
te=dt<<text explorer(Text Columns(:name));
te<<Save Document Term Matrix(Maximum number of terms(10),minimum term frequency(1),Weighting("TF IDF"));
te<<close window;
// This fails in the last statement. The group similar values dialog is opened, but it does not perform it's task
dt<<go to(:name);
rwin=dt<<recode();
wait(0);
rwin=current window();
rep=rwin["name"]<<get scriptable object;
rep<<Group similar values(Ignore Case(0),Ignore Non-Printable Characters(1), Ignore Whitespace(1),Ignore Punctuation(1),Allow Character Edits(1),Difference Ratio({1,0.4}),Max Character Difference({1,3}));