on downloadTool (toolname) local (url = "http://codecasting.org/" + toolname + "/" + toolname + ".root") local (filetext = tcp.httpreadurl (url)) local (f = frontier.getsubfolder ("apps") + "Tools" + file.getpathchar () + toolname + ".root") file.surefilepath (f) file.writewholefile (f, filetext) frontier.tools.install (f)