Is Delphi have any ability to write script of IDE actions? I would like On open delphi project execute script opening some unit. How I can do this.
A:
The Delphi IDE cannot be scripted as such, but you can write so-called experts. This is basically a plugin interface for the IDE and you have access to everything under the hood; from adding menu options to replacing event handlers - which I believe is what you're looking for.
Delphi 7 is quite old now, but I reckon much of the official documentation is still applicable.
Cobus Kruger
2010-03-24 15:00:46