Stripping Stylable attributes in VC4

I don’t suppose anyone has created a script to strip out control attributes that can/should be set by the style sheets. I’m inheriting/revisiting projects that weren’t set up to use style sheets (sadly including some I worked on over a decade ago).

In other words, borders, alignments, fonts, were set manually on each control. I’m looking for a script that can go through the .page and .layer files and remove the styleable attributes.

Ended up getting micrsoft copilot to write the script for me.

3 Likes