Quote:
Originally Posted by DerChrimtess
@Jiaz
A script that just enables the first file of all packages in my download list is sufficient Can you help me with that
|
Please ask mgpai for help with this. I'm sure he will do some real magic and come up with super easy solution for this.
Update: see here for script that enables first link of each package, disables the rest, in download list you can place it at any trigger that suits you best
Code:
getAllFilePackages().forEach(function(package) {
var first = true;
package.getDownloadLinks().forEach(function(link) {
if (first) {
link.setEnabled(true);
first = false;
} else {
link.setEnabled(false);
}
});
});