Hi Jon "select none" should work; being in a button is meaningless. Unless there has been an error and the script has being terminated. Check the console or the Java console for errors. Yes! geosurface does not accept the surface id. Check the doc.
Anyway, you have an easier solution that involves no select: jmolButton("hide hidden or *:A;", "Hide") to revert that, you must use display displayed or *:A or display all or hide none Using "hidden or *:A" instead of plain "*:A" ensures compatibility with previously hidden atoms (if any) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users