Activity Recorder is great tool in JMP to quickly automate simple processes. I feel like it should be able to combine different actions into one, currently depending on how you perform actions it creates longer scripts than necessary (these can also make scripts a bit less robust). Below is an example using Big Class with a quick way to create new formula column in JMP (very simple example):
- Double click to "free" header to create new column
- (Often we might even have additional step here, which is just renaming the column)
- Double click on the new column, rename it and set formula column property
My enhanced log without the second step:
// New column: Column 6
Data Table("Big Class") << New Column("Column 6",
Numeric,
"Continuous",
Format("Best", 12)
);
// Change column info: NewCol
Data Table("Big Class"):Column 6 << Set Name("NewCol") <<
Set Formula(:height * :weight);
What I would like the Action Recorder be able to do is to combine these into single step which would look something like this
// New column: NewCol
Data Table("Big Class") << New Column("NewCol",
Numeric,
"Continuous",
Format("Best", 12),
Formula(:height * :weight)
);
I can already get this but I have to use different method for column creation. Right Click on free column header and select New Columns and fill the required information. In this case we will get much cleaner script:
// New column: NewCol2
Data Table("Big Class") << New Column("NewCol2",
Numeric,
"Continuous",
Format("Best", 12),
Formula(:height * :weight)
);
Though this option won't let me insert columns between other columns.
There are most likely also other places where it would be helpful if Action Recorder could combine different steps.