[chimerax-users] combining executable html commands
Elaine Meng
meng at cgl.ucsf.edu
Wed Oct 5 11:20:17 PDT 2022
Hi Krishnan,
In that case you would concatenate the multiple commands with semicolons between, and put them all into one cxcmd tag in your HTML file:
<https://rbvi.ucsf.edu/chimerax/docs/user/tools/helpviewer.html>
For example, the first clickable link in the Quick Start Guide tutorial runs 2 commands with a single click: open 2bbv; color bychain
<https://www.rbvi.ucsf.edu/chimerax/docs/quickstart/index.html>
Or if that makes too long of a line, you may need to make a separate command file (plain text file with .cxc suffix) containing the set of commands, and then make the click-to-execute command simply open that file, e.g.: open myfile.cxc
ChimeraX command files:
<https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html#cxc-files>
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Oct 5, 2022, at 10:46 AM, Krishnan Raman via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> I have large presentation with several html executable commands . is there a way I can run them with one click single command for all of them? thanks
>
> Krishnan Raman
> Executive Director, Structural Biology
> BioCryst Pharmaceuticals
More information about the ChimeraX-users
mailing list