reporterla.blogg.se

Jdownloader2
Jdownloader2










jdownloader2

markDuplicates.ts - Example of a new linke added trigger markDuplicatesNewLinkEvent which uses the output from the save history events to add comments and disable added links which were already downloaded.ĭifferent event trigger types - getEventTriggerProperties.saveHistory.ts - Example of a context menu trigger saveHistor圜ontextMenuEvent and download stopped trigger saveHistoryDownloadStoppedEvent which use the same function to save links to history files based on hoster.prioritizePackages.ts - Example of a button trigger prioritizePackagesButtonEvent and interval trigger prioritizePackagesIntervalEvent which execute the same function to prioritize packages with smaller unfinished links.eventTriggers.ts - Strongly-typed trigger event property object.Not all functions are available to all trigger types.

jdownloader2 jdownloader2

jdownloader.d.ts - Strongly-typed global functions provided to event scripter.Export any functions which should be accessible from the jdownloader global object in the event scripter. Code can be written here or imported from other modules. index.ts - Main entry point for all scripts.Some files included in this repository are examples and some are necessary for proper typing. If the script is marked a "synchronous" then JDownloader may lock up so it is recommended to run the script once with the check box unchecked. Click allow go give access after verifying the script is correct. The first time the script runs, a prompt asking for permission to execute the local file may display. Note: if you are using Windows which uses "\" characters in paths, they must be doubled. Jdownloader.saveHistoryDownloadStoppedEvent() Require("C:\\Program Files\\JDownloader\\jdownloader.js") Install all the node modules, including typescript and webpack by running the command: Once downloaded and extracted, open a command prompt in the directory.

jdownloader2

You can alternatively use git or fork this repository. The easiest way to get started is to download the code as a ZIP file.

  • A text editor or IDE like Visual Studio Code.
  • This starter package makes the process of creating scripts easier. As the name implies, event scripter can trigger Javascript when certain events occur (e.g. It also supports user scripts through an extension called Event Scripter. It supports finding files and media on hundreds of websites through built-in plugins. JDownloader is a powerful application for managing downloads.
  • All built-in functions are typed with Typescript.
  • Starter package for developing EventScripter scripts for JDownloaderĪre you a fan of JDownloader 2? Have you ever wanted to add your own functionality? Do you find the small built-in script editor to be difficult to use? Then this starter package might be for you!












    Jdownloader2