Where does it crash (backtrace/callstack)?
When I try to create new header file with this custom script at the last step, when I click "Finish" in the wizard.
What version are you using?
Latest, CodeBlocks 20.03.
What is the exact wizard script and steps to reproduce?
I copy pasted the exact wizard script to the first message. Steps to reproduce is 1. create new custom script, 2. add it to global registration script, 3. create new header file with this custom script.
If I remove
text.Replace(_T("[DATE]"), "$(TODAY)");
from my script it works fine, so it looks clear where the problem is. So my question is how to insert current date to wizard script.