Jump to content

Lisp addendum to make dialog box close.


Recommended Posts

Posted

I have a lisp (attached) to open and close a VBA routine. I know very little about lisp or VBA. :)

Once I have fully run the code, I am left with an Autocad dialog box (attached) asking me to click either, yes, no or cancel.

 

What I would like is for an addition to the code to automatically close the dialog box by clicking no.

 

Thanks in advance for any help.

RLTS.lsp

RLTS Dialog Box.jpg

Posted

Hi Gp.

 

The lisp just loads the macro within the dvb file, then unloads the macro after it has run. I have the lisp set to autoload on demand.

The reason I want to automate clicking the "no", is that I think that if the dialog box is showing and I switch to another open AutoCAD session before I have closed the dialog box, the drawing with the macro sometimes hangs.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...