<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Answer command prompts in macro in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224959#M55611</link>
    <description>&lt;P&gt;You need to give it an insertion point before it asks the scale and rotation questions.&amp;nbsp; A backslash is to pause for User input such as that.&amp;nbsp; After that, a single semicolon is Enter for accepting each of the defaults for those, with no spaces between.&amp;nbsp; Something like this [untested]?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#000000"&gt;&amp;nbsp; ^C^C-insert;(findfile "filename.dwg");\;;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm not positive the Enter &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; between the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt; (findfile)&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;function and the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt; \&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;is needed, as it would be at the end of a spelled-out Block name -- the end of the function itself may complete the supplying of the name, without that.&amp;nbsp; If the above doesn't work, try it without that one semicolon.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This all assumes inserting something that you know exists, is in a support file search path location, is not defined for uniform scaling, and is without Attributes.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 14:52:44 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2022-06-09T14:52:44Z</dc:date>
    <item>
      <title>Answer command prompts in macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224922#M55610</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It's been years since I have customized AutoCAD, but I remember writing CUI command macros as being pretty simple. My struggle is really simple, but I don't remember how to answer the command prompts after calling a command. I thought it was just a matter of putting spaces or semicolons after the command call to do this. Please help refresh my memory, and sorry for the rudimentary question! My macro is as follows:&lt;/P&gt;&lt;P&gt;^C^C-insert;(findfile "filename.dwg")&amp;nbsp; ;;&amp;nbsp; ;;&amp;nbsp; ;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snappyjazz_1-1654785272165.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1078049i1D242EA6CE8CCC9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snappyjazz_1-1654785272165.png" alt="snappyjazz_1-1654785272165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried putting an amalgam of spaces and semicolons after the command, but nothing will answer the scale and rotation prompts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 14:41:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224922#M55610</guid>
      <dc:creator>snappyjazz</dc:creator>
      <dc:date>2022-06-09T14:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Answer command prompts in macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224959#M55611</link>
      <description>&lt;P&gt;You need to give it an insertion point before it asks the scale and rotation questions.&amp;nbsp; A backslash is to pause for User input such as that.&amp;nbsp; After that, a single semicolon is Enter for accepting each of the defaults for those, with no spaces between.&amp;nbsp; Something like this [untested]?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#000000"&gt;&amp;nbsp; ^C^C-insert;(findfile "filename.dwg");\;;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm not positive the Enter &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; between the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt; (findfile)&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;function and the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt; \&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;is needed, as it would be at the end of a spelled-out Block name -- the end of the function itself may complete the supplying of the name, without that.&amp;nbsp; If the above doesn't work, try it without that one semicolon.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This all assumes inserting something that you know exists, is in a support file search path location, is not defined for uniform scaling, and is without Attributes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 14:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224959#M55611</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-06-09T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Answer command prompts in macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224970#M55612</link>
      <description>&lt;P&gt;Generaly:&lt;/P&gt;
&lt;P&gt;-insert "blockname or file as you did" 111,2132 1 1 0&lt;/P&gt;
&lt;P&gt;But you can also use \ as a pause.&lt;/P&gt;
&lt;P&gt;ie :&lt;/P&gt;
&lt;P&gt;^C^C_-insert "blockname";\1;1;0&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;^C^C_-insert "blockname";\\\\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There was a prompt not to forget that you forgot ! The specification of the insertion point. It needs a pause or a coordinate&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 14:56:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11224970#M55612</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2022-06-09T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Answer command prompts in macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11225023#M55613</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/62037"&gt;@tramber&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I knew it was simple! This is a homer simpson forehead slap "DOH" moment. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 15:09:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/answer-command-prompts-in-macro/m-p/11225023#M55613</guid>
      <dc:creator>snappyjazz</dc:creator>
      <dc:date>2022-06-09T15:09:22Z</dc:date>
    </item>
  </channel>
</rss>

