Save settings: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox script-repo | |||
|type = Python Module | |||
|filename = save_settings.py | |||
|author = [[User:Speleo3|Thomas Holder]] | |||
|license = BSD-2-Clause | |||
}} | |||
[[save_settings]] is a prototype implementation to save all settings with non-default values to a file. | [[save_settings]] is a prototype implementation to save all settings with non-default values to a file. | ||
Line 8: | Line 15: | ||
save_settings [ filename ] | save_settings [ filename ] | ||
== See Also == | == See Also == | ||
Line 62: | Line 23: | ||
[[Category:Script_Library]] | [[Category:Script_Library]] | ||
[[Category:UI_Scripts]] | [[Category:UI_Scripts]] | ||
[[Category:Pymol-script-repo]] |
Latest revision as of 10:04, 23 February 2012
Type | Python Module |
---|---|
Download | save_settings.py |
Author(s) | Thomas Holder |
License | BSD-2-Clause |
This code has been put under version control in the project Pymol-script-repo |
save_settings is a prototype implementation to save all settings with non-default values to a file.
By default settings will be stored to ~/.pymolrc-settings.py which is automatically recognised and loaded by PyMOL on startup. You have to manually delete the file if you no more want those settings to be loaded.
This answers a feature request on sourceforge.
Usage
save_settings [ filename ]