JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.07.2019, 05:03
Lucaen Lucaen is offline
JD Addict
 
Join Date: Aug 2009
Posts: 156
Default Do Link Check in der Linksammler Bodenleiste

Ich hätte gern im Linksammler in der Bodenleiste die Option
LinkCollector: Do Link Check
damit ich das schnell ein oder auschalten kann,
wenn das Prüfen der neuen Links mir mal zu lange dauert.

Kann ich diese Option irgendwie selber hinzufügen?
oder müsstet ihr das erst einbauen?
Reply With Quote
  #2  
Old 14.07.2019, 05:43
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,325
Default

Quote:
Originally Posted by Lucaen View Post
Kann ich diese Option irgendwie selber hinzufügen?
Über den Ereignis-Skripter (Eventscripter) kannst ein Skript hinzufügen und in der Werkzeugleiste einen passenden Button mit dem Namen "DoLinkCheck". Symbol (Icon) kannst frei wählen.

Skript für "LinkCollector: Do Link Check":
Code:
// LinkCheck on/off
// Trigger: Toolbar Button Pressed (Schaltfläche Werkzeugleiste gedrückt)
// EventTriggername: DoLinkCheck

if (name == "DoLinkCheck") {
    var LinkCollector_dolinkcheck = callAPI("config", "get", "jd.controlling.linkcollector.LinkCollectorConfig", null, "DoLinkCheck");
    if (LinkCollector_dolinkcheck == false) {
        callAPI("config", "set", "jd.controlling.linkcollector.LinkCollectorConfig", null, "DoLinkCheck", true);
    } else {
        callAPI("config", "set", "jd.controlling.linkcollector.LinkCollectorConfig", null, "DoLinkCheck", false);
    }
}
Quote:
Originally Posted by Lucaen View Post
oder müsstet ihr das erst einbauen?
Für die Schönheit (z.B. Symbol bleibt gedrückt) müsste es wohl im JDownloader fest eingebaut werden.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.

Last edited by thecoder2012; 16.07.2019 at 01:10.
Reply With Quote
  #3  
Old 15.07.2019, 04:06
Lucaen Lucaen is offline
JD Addict
 
Join Date: Aug 2009
Posts: 156
Default

Danke für das Skript, aber es funktioniert leider nicht.
Es kommt nur:

An Error Occured
syntax error (*12)

irgendwas stimmt mit der letzten Zeile nicht.
Reply With Quote
  #4  
Old 15.07.2019, 10:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 15.07.2019, 10:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

@Lucaen: glaube da gehört nur eine } hin und nicht zwei am Ende
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.07.2019, 12:01
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,325
Default

Quote:
Originally Posted by Jiaz View Post
@Lucaen: glaube da gehört nur eine } hin und nicht zwei am Ende
Ja.

Quote:
Originally Posted by Lucaen View Post
irgendwas stimmt mit der letzten Zeile nicht.
Habe es im obigen Beispiel korrigiert. Wie schon Jiaz schrieb die eine geschweifte Klammer dürfte zu viel gewesen sein. Probiere es doch bitte einfach erneut.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #7  
Old 15.07.2019, 20:56
Lucaen Lucaen is offline
JD Addict
 
Join Date: Aug 2009
Posts: 156
Default

Juhu jetzt funktioniert das Skript.
Vielen Dank euch. Ich freue mich.

@thecoder2012
kannst du vieleicht auch ein Skript basteln für
Linkpakete ein oder ausgeklappt hinzugefügen?


https://board.jdownloader.org/showthread.php?p=365925
Reply With Quote
  #8  
Old 16.07.2019, 01:14
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,325
Default

Quote:
Originally Posted by Lucaen View Post
Juhu jetzt funktioniert das Skript.
Vielen Dank euch. Ich freue mich.
Freut mich.

Quote:
Originally Posted by Lucaen View Post
@thecoder2012
kannst du vieleicht auch ein Skript basteln für
Linkpakete ein oder ausgeklappt hinzugefügen?
https://board.jdownloader.org/showthread.php?p=365925
Antwort steht im verlinkten Thema.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
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 04:05.
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 - 2024, Jelsoft Enterprises Ltd.