Jump to content

use lisp at menu


mohammadreza

Recommended Posts

hello my friends,
does anyone know how i can use a lisp code as a menu button ?
i want to use my function in lisp as a buttom ?

Link to comment
Share on other sites

Hi,

If lisp is available from a search path or automatically loaded initially, simply put this in the button's command (ex):

^C^C(if (not c:my_function) (load"my_function")) my_function ^Z

Otherwise you will have to specify the path after (load"\\...\\...\\my_function")

  • Like 1
Link to comment
Share on other sites

On 9/1/2024 at 3:01 AM, BIGAL said:

This has like 130 lisps behind it. tsuky has given you one line. Just ask for more help.

1319577830_MENUplot.jpg.e3d9f34d0f4da5952dcff2f530dae6f2.jpg

do you know how i can set a neme instead image icon in my customize toolbar?

Link to comment
Share on other sites

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