Over 1.118.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 14007:
Question
A
One of the limitations of the AutoLISP support in AutoCAD LT (2024 and higher) is the missing function which allows creating external objects - (vlax-create-object) (does not work and always returns nil in LT).
For some add-on applications you can circumvent this limitation by invoking the object creation function through the Windows interpreter for Microsoft HTML Applications - MSHTA.
This is e.g. a LISP code which invokes voice output from AutoCAD LT:
(setq sptext "Hello world")
(startapp (strcat "mshta.exe vbscript:close(CreateObject(\"Sapi.SpVoice\").Speak(\"" sptext "\",0))"))
Or better yet - this code copies the given, e.g. generated/computed text to Windows Clipboard in AutoCAD LT:
(setq cltext "Hello world!")
(startapp (strcat "mshta.exe vbscript:close(CreateObject(\"WScript.Shell\").Exec(\"clip\").stdIn.WriteLine(\"" cltext "\"))"))
More info - see Speak for AutoCAD.
ACLT2025ACLT2024
26.1.2024
45201×
FAQ
this tip shared by ARKANCE experts applies to: AutoCAD LT 2025 · AutoCAD LT 2024 ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

