#1
|
||||
|
||||
![]()
This script unskips all skipped downloads once a captcha has been solved successfully.
Useful if several downloads have been skipped and you want to catch up all captchas at once. Code:
// Unskip all skipped downloads if successfull captcha // Trigger Required: After a captcha challenge // disablePermissionChecks(); // uncomment if you know what you're doing if (solved) { var links = getAllDownloadLinks(); for (i = 0; i < links.length; i++) { var link = links[i]; if (link.isEnabled() && link.isSkipped()) { // Unskip the download link.setSkipped(false); link.resume(); } } }
__________________
irc.libera.chat #jDownloader web.libera.chat/#jDownloader |
#2
|
|||
|
|||
![]()
Thankyou, this is exactly what I need. Just one question...
I'm an absolute newbie to Event Scripting in JDownloader. Do you trigger this by using "After a Captcha Challenge" ? |
#3
|
||||
|
||||
![]()
Yes, just as stated in the second line of the script. Once you created a new entry in the Event Scripter select the trigger from the "Trigger" column. Click on the EDIT button and paste the script and hit SAVE.
__________________
irc.libera.chat #jDownloader web.libera.chat/#jDownloader |
![]() |
Thread Tools | |
Display Modes | |
|
|