View Single Post
  #661  
Old 19.03.2019, 11:14
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,545
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 11:47. Reason: Removed IIFE
Reply With Quote