JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.08.2024, 22:04
kevvlor kevvlor is offline
Modem User
 
Join Date: Apr 2021
Posts: 3
Default Is there any way to access the comments of a file?

In both the link grabber and the download list you can see there is a comment associated with the file when you look at its File Properties. Is there anything I can do with this comment?

For instance, could this comment be added to the filename, or used as a package name? It does not seem to me that the comments of a file is accessible anywhere (as in not accessible from a class such as <jd:getcomment> or something like that). I think it would be cool if the comment could be stored somehow in the properties of the downloaded file.

Are there any other particular use cases the comments are intended for perhaps?

Anyways, I'm just curious. Thanks in advance for any clarification
Reply With Quote
  #2  
Old 02.08.2024, 22:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,241
Default

@kevvlor: you can use it in many ways.
1.) just for a place for notes/comments
2.) eg packagizer and place meta information in it, see https://support.jdownloader.org/de/k...the-packagizer
3.) use it in scripts with Eventscripter, see https://support.jdownloader.org/de/k...event-scripter and https://board.jdownloader.org/showthread.php?t=70525

Best would be to explain what you're trying to achieve and either we check/explain how it can be done with existing tools or add support for it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 05.08.2024, 12:13
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,455
Default

Quote:
Originally Posted by kevvlor View Post
For instance, could this comment be added to the filename, or used as a package name?
Yes both is possible using a Packagizer rule.

Quote:
Originally Posted by kevvlor View Post
I think it would be cool if the comment could be stored somehow in the properties of the downloaded file.
That is currently not possible with the basic set of features provided by JDownloader but you could already realize it by utilizing the EventScripter feature.

EventScripter forum thread:
https://board.jdownloader.org/showthread.php?t=70525
EventScripter help article:
https://support.jdownloader.org/Know...event-scripter
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
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 21:32.
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.