Tools for EventScripter

CFG functions

EventScripterExtension

JD_HOME/eventscripter/cfg/EventScripterExtension.js

//Retrieves the script object with the given name from:
//JD_HOME/cfg/org.jdownloader.extensions.eventscripter.EventScripterExtension.scripts.json
var script = EventScripterExtension.getScriptByName(string scriptName);

InternetConnectionSettings

JD_HOME/eventscripter/cfg/InternetConnectionSettings.js

//Retrieves the proxy object list from:
//JD_HOME/cfg/org.jdownloader.settings.InternetConnectionSettings.customproxylist.json
var proxies = InternetConnectionSettings.getCustomProxies();