This is a read-only mirror of pymolwiki.org
Difference between revisions of "Save settings"
Jump to navigation
Jump to search
(Created page with "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 ...") |
m (5 revisions) |
||
(4 intermediate revisions by 2 users 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 60: | Line 21: | ||
[[Category:Settings]] | [[Category:Settings]] | ||
+ | [[Category:Script_Library]] | ||
+ | [[Category:UI_Scripts]] | ||
+ | [[Category:Pymol-script-repo]] |
Latest revision as of 03:09, 28 March 2014
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 ]