Add export as script button to all Desktop and Extension dialogs, e.g. when pasting layers into a geodatabase (using copy and paste buttons), ArcGIS Desktop presents the user with a dialog showing layer names and configuration keywords. A user may change the configuration keywords and then execute the action. On this dialog, allow user to export to python script to facilitate re-running of action at later date. While a geoprocessing task can be created, this can be time consuming especially if one is not familiar with the grouping of the component tools.