Automate class creation

Hello

Is there a way to script class creation in the IDE?
I want to create a tool that generates classes from a database. Something like Argen, but that tool is way to generic for my purposes.
Is there a way to generate code, that generates classes/properties/methods/…?

If not, is there an way I could create classcode and import that in Xojo?

Argen generates full projects, that’s not what I need.

Thanks for pointing me in the right direction.

Sorry to ask a stupid question. I never saw that Record button on the IDE script window. That’s exactly what I need.

This solved!