Tools for EventScripter

API functions
JD_HOME/eventscripter/api/getStopMarkedLink.js
var stopMarkedLink = callAPI.getStopMarkedLink();

Alias for: callAPI("downloadsV2", "getStopMarkedLink");

JD_HOME/eventscripter/api/moveGrabbedLinks.js
callAPI.moveGrabbedLinks(array linkUUIDs, number afterLinkUUID, number packageUUID);

Alias for: callAPI("linkgrabberv2", "moveLinks", linkUUIDs, afterLinkUUID, packageUUID);

JD_HOME/eventscripter/api/movePackageToDownloadlist.js
callAPI.movePackageToDownloadlist(number packageUUID);

Alias for: callAPI("linkgrabberv2", "moveToDownloadlist", [], [packageUUID]);

JD_HOME/eventscripter/api/setMaxSimultaneDownloads.js
callAPI.setMaxSimultaneDownloads(number v);

Alias for: callAPI("config", "set", "org.jdownloader.settings.GeneralSettings", null, "maxsimultanedownloads", v);