v4.0
Exports a category of preferences into a file. A category is a set of preferences on the same subject grouped together in a node under the Preferences object located under Application.
ExportPreferences( FileName, [Categories] ); |
Parameter | Type | Description |
---|---|---|
FileName | String | The filename where the exported preferences will be saved. |
Categories | String |
The categories to export. It can be one or more categories separated by commas. If this
parameter is empty then all categories are exported. The categories can be found under
the Preferences node.
Default Value: none |
'Export all preferences ExportPreferences InstallationPath(siFactoryPath) & "myprefs.xsipref" |
'Export only the data_management category ExportPreferences InstallationPath(siFactoryPath) & "myDMprefs.xsipref", "data_management" |
'Export 2 categories ExportPreferences InstallationPath(siFactoryPath) & "myprefs.xsipref", "data_management,scripting" |