Thanks Matt,
I've found
but I'm looking for a code with a button to start a prog.
Button1 load "cl.lsp" and start "cl"
BTW I'm new to opendcl
Just put this behind a button:
(load"cl.lsp");cl;To break it down...
(load"cl.lsp") -- Loads the Autolisp program CL.LSP
; -- Return (similar to pressing RETURN on the keyboard)
cl -- Start your LSP program (similar to typing LINE to start the line command)
; -- Another return to execute the command