Jump to content

Hard or Carraige Return or Enter on command line


Recommended Posts

Posted

Does anyone know if autocad has a command for a hard or carraige return (or enter) on the command line?

I am running a few voice commands (MS WSR Macros) and it works great except I need to make AutoCAD after some commands.

 

For instance:

 

_-view

_swiso

Posted

To add to what Lee said, in AutoLISP you use: (command "")

Posted

Thanks for the timely responses!

 

Unfortunately, these only work if you are using AutoLisp or whatever, not entering it into the command line. I am trying to avoid building a bunch of new ACAD macros/autlisp routines just so I can then turn around and build a bunch of WSR Macros to activate them.

 

WSR Macros enters the text, and if you hit return and type a new line in the WSR Macro, it will return and enter that new text in AutoCAD's command line, however, after it enters the text it does not . It will also not recognize a space, so I can't simply add a blank line at the end and get it to return.

Posted

Does it understand carriage return chr(13) or line feed chr(10)?

  • 5 years later...

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