Help:Copying FirstGlance Scenes into Proteopedia: Difference between revisions

Eric Martz (talk | contribs)
No edit summary
Eric Martz (talk | contribs)
No edit summary
Line 9: Line 9:
2. '''Open Jmol's Console:''' Click on the word '''Jmol''' at the lower right corner below the molecule. On the menu that opens, click '''Console'''. A new small white window will appear. It is the ''Jmol Console''.
2. '''Open Jmol's Console:''' Click on the word '''Jmol''' at the lower right corner below the molecule. On the menu that opens, click '''Console'''. A new small white window will appear. It is the ''Jmol Console''.


3. '''Display the state script:''' Click the console buttons ''Clear Output''. Now type into the lower box of the Jmol Console the command ''show state'', and press Enter. (The ''State'' button does not work as intended in some versions of Jmol.) A long Jmol command script will appear in the top box of the Console. This script describes the current state or scene in Jmol. (If you are using this as a guide to help copy scenes from other Jmol-based sources, you may succeed in showing the state by selecting ''Show'' and then ''Current state'' from the Jmol menu that comes up under the Jmol frank.)
3. '''Display the state script:''' Click the console buttons ''Clear Output''. Now type into the lower box of the Jmol Console the command ''show state'', and press Enter. (The ''State'' button does not work as intended in some versions of Jmol.) A long Jmol command script will appear in the top box of the Console. This script describes the current state or scene in Jmol. This may also work: select ''Show'' and then ''Current state'' from the Jmol menu that comes up under the Jmol frank.


4. '''Copy the state script:''' Click in the top box of the Console, then Ctrl-A (Windows or Mac; do NOT use Cmd-A) to block-select the long script. Ctrl-C (Windows or Mac; do NOT use Cmd-C) to copy the script to the clipboard. On Mac OS X you may also be able to drag the blocked state script and drop it into a text editor such as TextEdit.
4. '''Copy the state script:''' Click in the top box of the Console, then Ctrl-A (Windows or Mac; do NOT use Cmd-A) to block-select the long script. Ctrl-C (Windows or Mac; do NOT use Cmd-C) to copy the script to the clipboard. On Mac OS X you may also be able to drag the blocked state script and drop it into a text editor such as TextEdit.
Line 24: Line 24:
9. Click '''Jmol''' at the lower right of Jmol, to open Jmol's menu. Click '''Console''' to open the console.
9. Click '''Jmol''' at the lower right of Jmol, to open Jmol's menu. Click '''Console''' to open the console.


10. '''Paste''' your state script (from the clipboard) into the bottom box of Jmol's Console, and DO NOT press Enter or click Run yet.  On '''Mac OS X''', paste with '''Ctrl-V''' instead of Cmd-V, but DO NOT press Enter of click Run yet.
10. '''Paste''' your state script (from the clipboard) into the bottom box of Jmol's Console, but DO NOT press Enter or click Run yet.  On '''Mac OS X''', paste with '''Ctrl-V''' instead of Cmd-V, but DO NOT press Enter of click Run yet.


11. '''Comment out the load command.''' Before you Run the state script, you must insert # before the word "load" in the command at the end of the 3rd block of commands. This disables the command, which is required. It should look something like this:
11. '''Comment out the load command.''' Before you Run the state script, you must insert # before the word "load" in the command at the end of the 3rd block of commands. This disables the command, which is required. It should look something like this:
Line 37: Line 37:
}</blockquote>
}</blockquote>


12. '''Run''' the pasted state script by clicking the ''Run'' button in Jmol's Console. Your FirstGlance scene should appear in the ''Scene Authoring Tool's'' Jmol.  
12. '''Run''' the pasted state script by clicking the ''Run'' button in Jmol's Console. Your FirstGlance scene should appear in the ''Scene Authoring Tool's'' Jmol. If it does not, save your state script into a text document, and attach it to an email to [[User:Eric Martz]].


13. Use the '''save scene''' tab to save the copied scene. Follow the instructions there to insert a green link into the page to show your scene.
13. Use the '''save scene''' tab to save the copied scene. Follow the instructions there to insert a green link into the page to show your scene.

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Wayne Decatur, Eran Hodis