View Single Post
  #1  
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