Author Topic: broke (Lee Macs) ScriptWriterV1-2.lsp  (Read 413 times)

0 Members and 1 Guest are viewing this topic.

Lonnie

  • Newt
  • Posts: 186
broke (Lee Macs) ScriptWriterV1-2.lsp
« on: May 16, 2024, 04:46:27 PM »
I was attempting to run off a UNC and I crashed my modified lisp. I now can not get his original to run (Even when I download a new file). It loads fine but here is what happens.

Command: WSCRIPT

** Error: bad argument type: stringp nil **

I went so far as to remove autocad from my registry and recreate it. Still no joy.

I also tried setting all the local vars back to ""

Lee Mac

  • Seagull
  • Posts: 12927
  • London, England
Re: broke (Lee Macs) ScriptWriterV1-2.lsp
« Reply #1 on: May 16, 2024, 06:06:49 PM »
Try removing the corresponding LMAC_ prefixed files from the Support folder under ROAMABLEROOTPREFIX.

I must say the program is old and in dire need of improvement  :|

Lonnie

  • Newt
  • Posts: 186
Re: broke (Lee Macs) ScriptWriterV1-2.lsp
« Reply #2 on: May 16, 2024, 06:39:06 PM »
Tell me do you ever get tired of thanks?

(getvar 'ROAMABLEROOTPREFIX)
"C:\\Users\\lshaw\\AppData\\Roaming\\Autodesk\\AutoCAD 2025\\R25.0\\enu\\"


Removed
LMAC_WScript_V1.2.cfg
LMAC_WScript_V1.2.dcl
Reloaded and it works.


Thank you.


Double thank you.
"\\\\DT-LSHAW2\\dcapps"

works just fine in the cfg file.

PS it may be old but it's still a great tool





« Last Edit: May 16, 2024, 06:47:59 PM by Lonnie »

Lee Mac

  • Seagull
  • Posts: 12927
  • London, England
Re: broke (Lee Macs) ScriptWriterV1-2.lsp
« Reply #3 on: May 17, 2024, 06:29:01 PM »
You're more than welcome Lonnie - I'm delighted that it's still proving useful!  :-)