
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://proteopedia.org/index.php?action=history&amp;feed=atom&amp;title=Molecular_Playground%2FSupport_Script_Help</id>
	<title>Molecular Playground/Support Script Help - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://proteopedia.org/index.php?action=history&amp;feed=atom&amp;title=Molecular_Playground%2FSupport_Script_Help"/>
	<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;action=history"/>
	<updated>2026-09-16T07:11:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1377558&amp;oldid=prev</id>
		<title>Eric Martz: /* Initializations */</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1377558&amp;oldid=prev"/>
		<updated>2012-04-20T23:14:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Initializations&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:14, 20 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== MPSupport Script ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== MPSupport Script ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Initializations ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Initializations ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you call &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MPSupport&lt;/del&gt;.spt&amp;lt;/code&amp;gt;, the following will be done:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you call &amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MPSupportVersion01&lt;/ins&gt;.spt&amp;lt;/code&amp;gt;, the following will be done:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Paints the background for top banner  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Paints the background for top banner  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eric Martz</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1377557&amp;oldid=prev</id>
		<title>Eric Martz at 23:14, 20 April 2012</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1377557&amp;oldid=prev"/>
		<updated>2012-04-20T23:14:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:14, 20 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page offers some help and documentation in using the MP Support Script provided. It is meant for advanced users that will be editing their own MP pages by hand (e.g. Level III pages).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page offers some help and documentation in using the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Molecular Playground]] (&lt;/ins&gt;MP&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;) &lt;/ins&gt;Support Script provided. It is meant for advanced users that will be editing their own MP pages by hand (e.g. Level III pages). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;See also&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:*[[Molecular Playground/Authoring]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:*[[Molecular Playground/Procedures]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Descriptions here are based on &amp;lt;code&amp;gt;MPSupportVersion01.spt&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Descriptions here are based on &amp;lt;code&amp;gt;MPSupportVersion01.spt&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eric Martz</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1360928&amp;oldid=prev</id>
		<title>Angel Herraez: documenting the Molecular Playground support script (for advanced use)</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Molecular_Playground/Support_Script_Help&amp;diff=1360928&amp;oldid=prev"/>
		<updated>2012-03-11T19:49:50Z</updated>

		<summary type="html">&lt;p&gt;documenting the Molecular Playground support script (for advanced use)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page offers some help and documentation in using the MP Support Script provided. It is meant for advanced users that will be editing their own MP pages by hand (e.g. Level III pages).&lt;br /&gt;
&lt;br /&gt;
Descriptions here are based on &amp;lt;code&amp;gt;MPSupportVersion01.spt&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== MPSupport Script ==&lt;br /&gt;
=== Initializations ===&lt;br /&gt;
If you call &amp;lt;code&amp;gt;MPSupport.spt&amp;lt;/code&amp;gt;, the following will be done:&lt;br /&gt;
&lt;br /&gt;
* Paints the background for top banner &lt;br /&gt;
* Defines the default text for 2nd line of top banner as &amp;quot;More at MolecularPlayground.Org&amp;quot;&lt;br /&gt;
* Defines variables for element colors H, C, N, O, F, Ca, Cl, Co, Cu, Fe, Mg, Mn, Mo, Ni, P, K, Se, Na, S, Zn (C, N and O are lighter than standard CPK).&lt;br /&gt;
* Defines and sets some variables by means of the &amp;lt;code&amp;gt;initializeVariables&amp;lt;/code&amp;gt; function (also available for a separate call) &amp;amp;mdash;two alternative values depending on whether Jmol window is large (projection) or small (applet):&lt;br /&gt;
** labelFontSize = 20 / 16&lt;br /&gt;
** labelBigFontSize = 24 / 24&lt;br /&gt;
** echoFontSize = 24 / 12&lt;br /&gt;
** echoColorKeyFontSize = 22 / 16&lt;br /&gt;
** colorKeyTopVertPct = 86 / 80&lt;br /&gt;
** colorKeyLineHeightPct = 4 / 6&lt;br /&gt;
&lt;br /&gt;
=== Utilities available ===&lt;br /&gt;
These functions may be called to perform some operations in ways compatible with users acting on the MP projection.&lt;br /&gt;
&lt;br /&gt;
* function initializeBeforeEachCycle(zapMode)&lt;br /&gt;
** clears all models&lt;br /&gt;
** clears all echos&lt;br /&gt;
** resets animation mode  to &amp;#039;once&amp;#039;&lt;br /&gt;
** resets window center&lt;br /&gt;
** sets antialiasdisplay off&lt;br /&gt;
** resets spin rates and orientation&lt;br /&gt;
** sets zoomLarge off&lt;br /&gt;
&lt;br /&gt;
* function initializeMolecule()&lt;br /&gt;
** applies redefined lighter CPK colors to C, N, O&lt;br /&gt;
&lt;br /&gt;
* function showBannerAcrossTop(bannerMessage, bannerMessage2)&lt;br /&gt;
** displays top banner text (2nd line has a default)&lt;br /&gt;
&lt;br /&gt;
* function labelAtomWithPointer(theAtom, labelText, labelColor)&lt;br /&gt;
** displays a label with a pointer line&lt;br /&gt;
&lt;br /&gt;
* function elementColorKey(elist)&lt;br /&gt;
** displays a legend with color keys for the elements&lt;br /&gt;
&lt;br /&gt;
* function colorKey(keyText, keyColor)&lt;br /&gt;
** displays a legend with a custom color key&lt;br /&gt;
&lt;br /&gt;
* function spinOn()&lt;br /&gt;
** reactivates spin if allowed by default (needed since &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rotate&amp;lt;/code&amp;gt; turns spin off)&lt;br /&gt;
&lt;br /&gt;
* function growSpacefill()&lt;br /&gt;
** grows atoms from 10% to 100% in 1% steps&lt;br /&gt;
&lt;br /&gt;
* function growWireframe(wireMax)&lt;br /&gt;
** grows bonds from 0.01 to specified in 0.01 steps&lt;br /&gt;
&lt;br /&gt;
* function getZoom()&lt;br /&gt;
&lt;br /&gt;
* function entranceZoom(zoomStart, zoomEnd)&lt;br /&gt;
&lt;br /&gt;
* function getY()&lt;br /&gt;
** as percent Y position&lt;br /&gt;
&lt;br /&gt;
* function zoomRotatableTo(zoomEnd)&lt;br /&gt;
** not needed for Jmol 11.8.12+&lt;br /&gt;
&lt;br /&gt;
* function slideY(yEnd)&lt;br /&gt;
** not needed for Jmol 11.9.10+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Molecular Playground]]&lt;/div&gt;</summary>
		<author><name>Angel Herraez</name></author>
	</entry>
</feed>