JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.07.2025, 10:02
xele3628iw xele3628iw is offline
Wind Gust
 
Join Date: Apr 2010
Location: Greece
Posts: 44
Default Copy/Paste event script

Hi guys,
I am looking for an event script to copy and paste a .png file after the update in C:\Users\****\AppData\Local\JDownloader2\themes\standard\org\jdownloader\images\fav.
Can you help me?
Reply With Quote
  #2  
Old 05.07.2025, 20:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

@xele3628iw: I guess you want to use custom fav icons? This has nothing to do with updates of JDownloader as the fav icon handling auto refreshes them regularly. In case you want to keep custom ones and don't want JDownloader to update/overwrite them, please let me know and I will add support for this
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 07.07.2025, 10:32
xele3628iw xele3628iw is offline
Wind Gust
 
Join Date: Apr 2010
Location: Greece
Posts: 44
Default

Quote:
Originally Posted by Jiaz View Post
@xele3628iw: I guess you want to use custom fav icons? This has nothing to do with updates of JDownloader as the fav icon handling auto refreshes them regularly. In case you want to keep custom ones and don't want JDownloader to update/overwrite them, please let me know and I will add support for this
Hi Jiaz,
if you can add support to what I asked for, please do so.
Reply With Quote
  #4  
Old 07.07.2025, 10:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

@xele3628iw: Can you please answer my question or explain what exactly you're looking for?
There will be no event for anything like that because 1.) those files are downloaded/updated by JDownloader itself when you're having links in list and 2.) those files are not part of the update.
That's why I asked what what exactly you're looking for. If you just want to keep custom icons, then tell me so. JDownloader cannot do copy/paste but only copy/move files but as there is no event for when those files are created/updated, this will not work and will not work as expected because a restart is required in order to use your custom image again.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 07.07.2025, 12:15
xele3628iw xele3628iw is offline
Wind Gust
 
Join Date: Apr 2010
Location: Greece
Posts: 44
Default

Quote:
Originally Posted by Jiaz View Post
@xele3628iw: Can you please answer my question or explain what exactly you're looking for?
There will be no event for anything like that because 1.) those files are downloaded/updated by JDownloader itself when you're having links in list and 2.) those files are not part of the update.
That's why I asked what what exactly you're looking for. If you just want to keep custom icons, then tell me so. JDownloader cannot do copy/paste but only copy/move files but as there is no event for when those files are created/updated, this will not work and will not work as expected because a restart is required in order to use your custom image again.
I have a custom icon for Debrid-link and I want to always use the same one and not have it change every time.
Attached Images
File Type: png debrid-link.com.png (5.4 KB, 3 views)
Reply With Quote
  #6  
Old 07.07.2025, 14:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 75,268
Default

@Jiaz
If he just put a write protection on said file, wouldn't that work for him too?
Otherwise the simplest solution I guess would be to introduce an advanced setting "tray icon auto download blacklist".
__________________
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
  #7  
Old 07.07.2025, 14:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

Quote:
Originally Posted by pspzockerscene View Post
@Jiaz
If he just put a write protection on said file, wouldn't that work for him too?
Nice and simple solution. Will add it exactly like this. In case the file is write protected, it won't be auto refreshed by JDownloader
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 07.07.2025, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

@xele3628iw: wait for next core update and set the file(s) write protected
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 07.07.2025, 15:37
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 75,268
Default

Bitte auf das nächste CORE-Update warten!

Please wait for the next CORE-Update!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
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
  #10  
Old 07.07.2025, 16:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

@xele3628iw: Update is live
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 08.07.2025, 12:20
xele3628iw xele3628iw is offline
Wind Gust
 
Join Date: Apr 2010
Location: Greece
Posts: 44
Default

Thank you very much, I will try what you told me and get back to you.
Reply With Quote
  #12  
Old 09.07.2025, 18:52
xele3628iw xele3628iw is offline
Wind Gust
 
Join Date: Apr 2010
Location: Greece
Posts: 44
Default

Thank you very much guys, it works perfectly
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:58.
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 - 2025, Jelsoft Enterprises Ltd.