We use a very old legacy program that interacts with AutoCAD. When we open a drawing through this program, it creates a script and a data file to update some information inside the drawing. Since AutoCAD 2017 something has changed and now the .scr extension is added twice to the script call. We get an error message and the script does not run.
Capture.PNG
Is this message stored somewhere that I can get it? If it is I can create a Lisp routine, trim the extra extension and run the script after the error is acknowledged.
I am already doing It but I have to manually run the script. If I can get the file name from the error message I can automate this.
I know how to make the Lisp routine but need help in retrieving the script name.
Thank in advance.