Quote:
Originally Posted by mgpai
Code:
/*
Export link info
Trigger : Downloadlist contextmenu button pressed
Customizze downloadlist context menu > Add a noew "Eventscripter Trigger" button > Rename it to "Export link info"
*/
if (name == "Export link info") {
var file = JD_HOME + "/" + Date.now() + ".tsv";
var data = [];
dlSelection.links.forEach(function(link) {
data.push([getPath(link.downloadPath).extension, link.name, link.bytesLoaded, link.downloadPath, link.url].join("\t"));
})
if (data.length) {
writeFile(file, data.join("\r\n"), true);
}
}
|
Just saw this script.
Thanks!
Created that EventScripter button and renamed it to 'Export link info'
Installed the script
I can click that button, confirmed permission.
But what about that file, the script should create?
Did I forget something?