|
Hi,
I have a problem with setting user preference values in external scripts.
1) Is there a way to register the custom command execution as a single entry in the Undo history. Something like SQL’s BEGIN TRANSATION/END TRANSACTION block.
2) Is there a way to disable auto restoring values for parameters within the User preferences that were modified by custom scripts. I know that this feature has been introduced in 5.0 to decrease the support, but it doesn’t work well with the undo history and still allows to set parameter values in uncontrolled way.
In example: custom command first disables popup dialogs and then enables them ( from previously saved status ) at the end of its code. The first Undo operation after custom command execution disables the popup dialogs again.
Cheers,
|
|
|