Hi, does anyone know how to add menu listener in JMol through JMol script?
I tried using this:
viewer.evalString ("set debugScript;");
viewer.evalString ("set ScriptCallback spacefill ;");
But is there a way to make the above to an "if" statement? Like if I click
the "ball and stick" option in the menu, then something happens?
Thanks!