JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 19.03.2025, 11:35
FBD's Avatar
FBD FBD is offline
Fibre Channel User
 
Join Date: Nov 2018
Location: https://web.libera.chat/#jDownloader
Posts: 117
Post Unskip all skipped downloads on successfull captcha solve

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
Reply With Quote
  #2  
Old 22.03.2025, 11:46
SmokinMoe SmokinMoe is offline
Modem User
 
Join Date: Jan 2025
Posts: 1
Default

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" ?
Reply With Quote
  #3  
Old 22.03.2025, 18:45
FBD's Avatar
FBD FBD is offline
Fibre Channel User
 
Join Date: Nov 2018
Location: https://web.libera.chat/#jDownloader
Posts: 117
Default

Quote:
Originally Posted by SmokinMoe View Post
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" ?
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 20:25.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.