JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Old 29.10.2017, 09:15
botmtl botmtl is offline
DSL User
Join Date: Apr 2015
Location: Montreal
Posts: 39
Default Customizable SearchFor and ReplaceWith field for RenameAction

I really like the customizable actions for the context menus (ActionContext descendants). @see https://board.jdownloader.org/showthread.php?t=75198 for the enable/disable example.

I would love be able to specify the values for the "Search For" and "Replace With" values for the RenameAction context menu.

Something like this?

And the effect would be that the RenameDialog's txtSearch and txtReplace fields would show up with those values.

If that is too much work, then would it be possible to add global SearchForDefaultValue and ReplaceWithDefault to the advanced config section? It would replace the hardcoded defaults which are "(.*)" and "$1" respectively (when isRenameActionRegexEnabled is true).
Reply With Quote
Old 30.10.2017, 16:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
Join Date: Mar 2009
Location: Germany
Posts: 79,084

JD-Dev & Server-Admin
Reply With Quote

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 00:20.
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 - 2023, Jelsoft Enterprises Ltd.