The EventScript plugin really does the trick, this is great!
I create an unstored calculated field for each layout I need (in its
main table), put it in the layout, make it uneditable and transparent,
and tada, the script is executed automatically without extra effort or
affecting the user interface

Thanks a lot Remi-Noel and Howard!
Adrian