If you create a new library part and drag a text element with the autotext inside it into the 2d script, you will get a funky autotext value such as
<autotext-B4A088D7-5B40-4D6D-BCFD-2D7F726D37E1>
this will work. Beyond the first 3 custom text entries the numbering seems a bit different.
However, if it is just a finish from a predefined set of values, you might just want to consider using the parameter script to define a range of values that you could pick from the object parameter dialog and use in schedules.
For example:
values "paintfinish" "white","blue","red"
For your created custom parameter called paintfinish you will now have a pulldown list of white, blue and red. Make sure the parameter is of the "text" type.
And yes, I'm sure this could also be scripted into a zone stamp.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nlArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5