Go to: Synopsis. Return value. MEL examples.

Synopsis

saveAllShelves string

saveAllShelves is undoable, NOT queryable, and NOT editable.

This command writes all shelves that are immediate children of the specified control layout to the prefs directory.

Return value

booleanTrue if successful, otherwise issues an error message and returns false.

MEL examples

global string $gShelfTopLevel;
saveAllShelves $gShelfTopLevel;