I usually just create a script and then make simple modifications to the script.
For example, with your analysis showing, hit the red triangle and then select Script->Save Script to Data Table (and then save the data table). Your script will appear as a selectable option on your data table, which you can then run any time you want, with whatever modifications you want.