JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #661  
Old 19.03.2019, 12:14
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 448
Default

Quote:
Originally Posted by bobolecoco View Post
... Is there a way to change settings ... "mininmize to tray"...
Code:
// Enable Tray Icon if it is disabled
// Trigger: Interval (Rencommended: 60000 or more)

var settings = "org.jdownloader.gui.jdtrayicon.TrayConfig";
var storage = "cfg/org.jdownloader.gui.jdtrayicon.TrayExtension";
var value = callAPI("config", "get", settings, storage, "enabled");

if (!value) callAPI("config", "set", settings, storage, "enabled", true);

Quote:
Originally Posted by Jiaz View Post
.. api namespace is 'extensions' ...
Does not appear to be listed in "extensions".

Last edited by mgpai; 19.03.2019 at 12:47. Reason: Removed IIFE
Reply With Quote
  #662  
Old 19.03.2019, 13:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,406
Default

@mgpai: thanks, but other extensions are listed ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #663  
Old 19.03.2019, 13:12
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 448
Default

Quote:
Originally Posted by Jiaz View Post
@mgpai: thanks, but other extensions are listed ?
@jiaz: My pleasure. Yes other extensions are listed.

Code:
org.jdownloader.extensions.extraction.ExtractionExtension
org.jdownloader.extensions.antistandby.AntiStandbyExtension
org.jdownloader.extensions.eventscripter.EventScripterExtension
org.jdownloader.extensions.folderwatchV2.FolderWatchExtension
org.jdownloader.extensions.infobar.InfoBarExtension
org.jdownloader.extensions.shutdown.ShutdownExtension
org.jdownloader.extensions.schedulerV2.SchedulerExtension
chat
translator
Reply With Quote
  #664  
Old 19.03.2019, 19:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,406
Default

@mgpai: thanks. tray extension is no longer build as optional and therefore not returned in that list. but still can be accessed via api
__________________
JD-Dev & Server-Admin
Reply With Quote
  #665  
Old 20.03.2019, 10:28
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 448
Default

Quote:
Originally Posted by Jiaz View Post
... but still can be accessed via api
Which is the correct classname and id?

Tried "jdtrayicon" and "org.jdownloader.extensions.jdtrayicon.TrayExtension" (with different methods). Neither of them seem to work.

Don't need to add support if it has been removed. Just checking if it works.
Reply With Quote
  #666  
Old 20.03.2019, 10:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,406
Default

@mgpai: you're right, because it's no longer an optional extension, it's not 'reachable' via config system at the moment. I will check if I can make it work again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #667  
Old 20.03.2019, 13:58
bobolecoco bobolecoco is offline
Vacuum Cleaner
 
Join Date: Aug 2015
Location: France
Posts: 18
Default

Thanks for your responses mgpai and Jiaz !
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 07:56.
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 - 2019, Jelsoft Enterprises Ltd.