Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command Messaage on Loading

1 REPLY 1
Reply
Message 1 of 2
alan1959
225 Views, 1 Reply

Command Messaage on Loading

I was wondering if there is a way to have a message such as the following show up when a lisp routine was loaded using "Load Application" in ACAD?

 

1) Load Application "ZAP"

2) lisp routine is successfully loaded and the message "Type ZAP at the command line to initiate ZAP routine" 

1 REPLY 1
Message 2 of 2
pbejse
in reply to: alan1959


@alan1959 wrote:

I was wondering if there is a way to have a message such as the following show up when a lisp routine was loaded using "Load Application" in ACAD?

 

1) Load Application "ZAP"

2) lisp routine is successfully loaded and the message "Type ZAP at the command line to initiate ZAP routine" 


(Defun c:Demo nil
      (princ "\nThis is a Demonstration for Printing the command syntax on loading")
      (princ)
      );<--- end of defun
(prompt
  "\n>>>...Demo.lsp is now loaded by pBe. Type Demo to run...<<<")
(princ)   

 

Save the file as demo.lsp and load thru appload

 

The prompt line at the end of the main routine will appear upon loading

 

HTH

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost