New CADforum look launched.
Over 1.085.000 registered users (EN+CZ). Try the new Engineering calculator, the CAD conversion wizard, the Color converter and USD viewer. Learn about twiGIS.
Over 1.085.000 registered users (EN+CZ). Try the new Engineering calculator, the CAD conversion wizard, the Color converter and USD viewer. Learn about twiGIS.
CAD tip # 5404:
Question
A
If you are using Windows XP, Vista or Win7/8/10 (and higher) and a PC with a sound card, you can easily make your AutoCAD talk.
For speech-output you can use the SAPI interface in Windows and call it from AutoCAD e.g. through VisualLISP:
(setq sapi (vlax-create-object "Sapi.SpVoice")) (vlax-invoke sapi "Speak" "Here is your AutoCAD" 0) (vlax-release-object sapi)As an example of speech functions - e.g. for loud reading of the layer list, for audio warning when attempting to draw on a locked layer (reactor) or for definition of the general-use SAY command you can use the LISP utility Speak - for download on Download (source code on request).
You can use SAY e.g. for audio-notification of a completed long task (from a menu macro or a script).
ACAD


2.2.2007
18805×
applies to: AutoCAD ·