Script to create text styles

Hello

I use W10 family and Draft Sight 2018 free.

I create my layers with scripts without any problem.

Now, I want to move on to creating the text styles with scripts! Unfortunately, this does not work, see attached file.

This file shows you the command lines on the left and the script file on the right.

The script seems trouble-free  until the question, "Confirm Vertical Text?" answer N

As a result,  "N" is now the active text style, effectively "N" is created and active????

It's not normal! 

How can this situation be remedied?

Thank you in advance

JP


scriptstyletext.jpg
To answer this question, a tutorial has been created. To access this tutorial, follow this link: DS Free Script to Create Text Styles