Custom panel button for LISP won't run

Custom panel button for LISP won't run

Gorra
Advocate Advocate
146 Views
6 Replies
Message 1 of 7

Custom panel button for LISP won't run

Gorra
Advocate
Advocate

Hello,

I am building an array of drop-down panel buttons to run various LISP routines, but I am stuck on the first one. I have the button showing up and linked to the command (UR1) that links to the LISP (ULAR1). The LISP runs perfectly typing in the command or the LISP name, but clicking the button does nothing, not even an error code.

 

Cuix.png

Does the command need some kind of prefix? I've tried * and - in front of the command but no luck. I've moved the command to other places in the tree (like primary command) but still nothing.

 

Thanks for any help

Gorra

 

0 Likes
Accepted solutions (1)
147 Views
6 Replies
Replies (6)
Message 2 of 7

paullimapa
Mentor
Mentor
Accepted solution

try placing the command next to the Macro edit field:

paullimapa_0-1758668834443.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 7

Sea-Haven
Mentor
Mentor

In case you don't know the ^c^c is needed sometimes ^c^c^p is used. The ^c implies do a "Cancel", often commands need two cancels to get out of where there at. 

 

Did you use a mnu file to make the menu ? Then its easy in a pop mnu file to see the correct syntax.

[->LISP2 C-D]      
       [->CARPARKS]
             [No carparks]^C^C(load "how many carparks") carpark
             [Carpark 0]^C^C(load "carpark made simple") npark90
             [Carpark 30]^C^C(load "carpark made simple") npark30
             [Carpark 45]^C^C(load "carpark made simple") npark45
             [Carpark 60]^C^C(load "carpark made simple") npark60
             [<-Carpark 90]^C^C(load "carpark made simple") npark90

 

 

0 Likes
Message 4 of 7

Gorra
Advocate
Advocate

@paullimapa @Sea-Haven  Thanks, that's the manner of thing I figured I was missing.

0 Likes
Message 5 of 7

Gorra
Advocate
Advocate

No, I used the cui editor. I'll look into using an mnu.

0 Likes
Message 6 of 7

paullimapa
Mentor
Mentor

you are welcome...cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 7

Sea-Haven
Mentor
Mentor

I use mnu files all the time as they can be edited with notepad. Just use menuunload  & menuload. You can have POP and toolbar menu's using mnu. a Ribbon has to be done with the CUI. I have used lisp to help make a mnu writing repeating code for say insert blocks.

 

You can have images in a POP  menu when making choices.

SeaHaven_0-1758760719446.png

 

0 Likes