Go to: Synopsis. Return value. Flags. MEL examples.
savePrefs [-colors] [-general] [-hotkeys] [-plugins] [-uiLayout]
savePrefs is undoable, NOT queryable, and NOT editable.
This command saves preferences to disk. If no flags are specified
then all pref types get saved out.
None
colors, general, hotkeys, plugins, uiLayout
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// only save the hotkeys
savePrefs -hotkeys;
// save everything
savePrefs;
// only save ui layout prefs
savePrefs -uiLayout;