Thread: [See Bugtracker] A general filter bug
View Single Post
  #11  
Old 19.07.2019, 21:03
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 948
Default

Quote:
Originally Posted by djmakinera View Post
But how fast can turn on or off Regex when searching for different names? No use of advanced settings every time
"Downloadlist Bottombar Button Pressed" + Eventscripter + keyboard shortcut
Keyboard shortcut is very fast!

Quote:
Originally Posted by Jiaz View Post
You can also use eventscripter and create button to toggle this option.
Done.

Script example:
Code:
// Filterregex on/off
// Trigger: Downloadlist Bottombar Button Pressed
// EventTriggername: Filterregex

if (name == "Filterregex") {
    var filterregex = callAPI("config", "get", "org.jdownloader.settings.GeneralSettings", null, "filterregex");
    if (filterregex == false) {
        callAPI("config", "set", "org.jdownloader.settings.GeneralSettings", null, "filterregex", true);
    } else {
        callAPI("config", "set", "org.jdownloader.settings.GeneralSettings", null, "filterregex", false);
    }
}
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.

Last edited by thecoder2012; 19.07.2019 at 21:17.
Reply With Quote