Jump to content

Recommended Posts

Posted

I made a lisp that creates a script file and runs it, but I cannot delete the script until the script is over.

 

The problem is that the Autolisp routine ends way earlier before the script has ended, therefore I cannot delete the script file within the autolisp routine itself.

 

Any idea?

 

Thanx a lot in advance.

 

S.

Posted

Why not just use vl-FileName-MkTemp to write your Script to a temporary file, or better yet, could you not just code everything in LISP (you neglected to mention what the Script does)?

Posted

You could retain the Script and simply overwrite it every time the program is run.

This is in fact the method I implement in this program.

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...