Quote:
Originally Posted by dbrown1986
... add a function to clear the download from the download list after it has been moved?
|
Code:
// Move downloaded files to user-specified folder and remove the link from download list
// Trigger: A Download Stopped
if (link.finished) {
var destinationFolder = "/home/";
getPath(link.downloadPath).moveTo(destinationFolder);
link.remove();
}