Jump to content

Lisp routine without showing commands


Recommended Posts

Posted

Hi,

 

Perhaps a simple question. I'm setting up an installation file in lisp form.

I want 'status updates' show in the commandbar/Text window (F2) but i don't want them pushed out by all the commands it's running.

 

'Back in the days' i used batch files and you could hide lines/commands by adding the @ sign or something like ECHO OFF.

 

Is there a way to hide command from the command bar but still show the text lines like (princ "\n Setting up toolbars...") ?

Posted
(setq echo (getvar 'cmdecho))
(setvar 'cmdecho 0)
(command "_.*******")
(setvar 'cmdecho echo)

  • Thanks 1
  • 3 years later...
Posted

I know this is an old post but thanks Tharwat. worked perfectly and I will definitely save that one future coding...

Posted
I know this is an old post but thanks Tharwat. worked perfectly and I will definitely save that one future coding...

 

Thank you for your feedback. :)

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