 - (defun AlertX(TITLE String nSeconds f / WSH a)
- (setq WSH(vlax-create-object "WScript.shell"))
- (if(vl-catch-all-error-p(setq a(vl-catch-all-apply'vlax-invoke-method(list WSH 'Popup String nSeconds TITLE f))))
- (alert String)(progn(vlax-release-object WSH)a)))
是这样的么?
|