Jump to content

Run a lisp in another lisp + adding answer strcat


Recommended Posts

Posted

Hi I would like to run the psrename lisp in another lisp (with (c:psrename) ) but I would like to give it predefined answers something like:

 

(c:psrename)
It would automaticaly answer 
"Layer"
"prefix"
"X - Arch - "

 

But I can't found how to do this

 

Many thanks

PSrename.zip

Posted

Since LISP does not permit multiple threads, it is not possible to interact with a LISP program from another LISP program - the programs must run in series, one expression evaluated after another, and when the second LISP program begins evaluation it takes focus and the first cannot be evaluated simultaneously.

 

To accomplish your goal, you would need to rewrite the (c:psrename) function to use a subfunction accepting the necessary parameters that you wish to pass to it.

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