Hi, we have an internal web page that sets up a PyMOL link based on data
that the user has selected in the web page, for example:

*<a id="pyMOL_link" class="button button-pymol"
href="http://localhost:65078/apply/pdb_from_str?str_id=STR1573&amp;compound=G00427224&amp;ligchain=Z&amp;lignumber=1&amp;protchain=A
<http://localhost:65078/apply/pdb_from_str?str_id=STR1573&amp;compound=G00427224&amp;ligchain=Z&amp;lignumber=1&amp;protchain=A>"
target="hidden_frame">view in PyMOL</a>*

this works and displays the data in PyMOL if the user has PyMOL running on
their local
machine, listening to port 65078. What we would like to do is to determine
if the user
has PyMOL running on their machine, and if not, hide the link. But if there
is a call to
http://localhost:65078 to get a response or error code, there is a cross
domain error,
and the call fails the same whether or not PyMOL is running.

Does anyone have a way to tell if PyMOL is running from a web page?

thank you,
Lance Frohman
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to