Features & Development

Geogebra screenshot

Re: Geogebra screenshot

by Andrew Bayliss -
Number of replies: 0
I'm trying to use the following code.

submitActionScript =>qq{ getQE("answerBox").value=getGraph() },

with the following in the javascript section.

function getGraph() {
        var applet = getApplet("$appletName");
        var success = applet.writePNGtoFile("Quad_Lin_sys.png", 1, false, 300);
        return success;
 }

However, I think from reading the documentation on the geogebra site that the applet is probably blocked from saving anything on the sever unless it is signed with a certificate, and my server is not signed. I might be able to get a csr for my site, but wonder if I did would webwork even allow it.