<?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: combine 2 or more commands into 1 shortcut in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12681007#M54582</link>
    <description>savage answer..... thanks for help, worked</description>
    <pubDate>Tue, 02 Apr 2024 11:06:11 GMT</pubDate>
    <dc:creator>alexandru.alexeN6U84</dc:creator>
    <dc:date>2024-04-02T11:06:11Z</dc:date>
    <item>
      <title>combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269086#M54573</link>
      <description>&lt;P&gt;Hi I want to run a sequence of commands and combine into one shortcut. for example&amp;nbsp;&lt;/P&gt;&lt;P&gt;breakpoint &amp;gt;&amp;gt; Match Properties&amp;nbsp;&lt;/P&gt;&lt;P&gt;and repeat&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i've found the Multiple command you can repeat 1 command without pressing space/enter. But if i find a way to merge the 2 commands and re-assign that as one shortcut, i can then feed that back into the multiple command to achieve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to explore&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Action recorder - but i find it both zooms/remembers previous location / selection&amp;nbsp; and when setting wait for user input it. very much clunky.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Can the CUI be used to create a double command?&amp;nbsp;&lt;/P&gt;&lt;P&gt;- or best as a small Lisp file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 13:05:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269086#M54573</guid>
      <dc:creator>tomhY595S</dc:creator>
      <dc:date>2022-06-30T13:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269128#M54574</link>
      <description>Placing a   *   at the very beginning of a macro line in any CUI command will trigger a never-ending repeat of that command until you ESC out. Something like&lt;BR /&gt;&lt;BR /&gt;*^C^C_CommandNameHere&lt;BR /&gt;OR&lt;BR /&gt;*^C^C_CommandNameHere;DoSomething;_Command2NameHere;DoSomethingElse;_Command3Namehere&lt;BR /&gt;&lt;BR /&gt;LISP forum (always easier to tailor to your exact needs) is here if you want to ask for something very very specific &lt;A href="https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 30 Jun 2022 13:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269128#M54574</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-06-30T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269171#M54575</link>
      <description>&lt;P&gt;Thanks Pendean,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With regards to setting the CUI, how can i link the Shortcut to the command. Do i edit alias and then add it there followed by the&amp;nbsp;*^C^C_breakatpoint;DoSomething;_^C^C_laymch for example ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the "DoSomething" is that to be infilled with some other text or is that the command that lets autocad know that the user selects something?&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="tomhY595S_0-1656596227676.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1086189iD13BC0F5C8DCB4F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tomhY595S_0-1656596227676.png" alt="tomhY595S_0-1656596227676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 13:35:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269171#M54575</guid>
      <dc:creator>tomhY595S</dc:creator>
      <dc:date>2022-06-30T13:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269187#M54576</link>
      <description>&lt;P&gt;^C^C_breakatpoint;\\_select;\;\_m;\;&lt;BR /&gt;just make a macro&lt;BR /&gt;^C – Represents pressing the Esc key.&lt;BR /&gt;. (period) – Instructs AutoCAD to use the standard definition of a command. The behavior of commands can be altered with programming languages like AutoLISP and ObjectARX.&lt;BR /&gt;_ (underscore) – Lets AutoCAD know the command or option provided is the global/English name. This is required for macros to work correctly across multiple languages.&lt;BR /&gt;; (semi-colon) – Represents pressing the Enter key.&lt;BR /&gt;\ (backslash) – Represents a pause for user input; allows the user to enter a value, specify a point, or select objects.&lt;BR /&gt;(space) – Represents pressing the Spacebar key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/AutoCAD-Product-Insights/files/GUID-4D375B88-1F3E-4ED6-9A38-9FB410DA339C-htm.html#:~:text=To%20use%20an%20action%20macro,Action%20Macro%20drop%2Ddown%20list" target="_blank" rel="noopener"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/AutoCAD-Product-Insights/files/GUID-4D375B88-1F3E-4ED6-9A38-9FB410DA339C-htm.html#:~:text=To%20use%20an%20action%20macro,Action%20Macro%20drop%2Ddown%20list&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269187#M54576</guid>
      <dc:creator>DumR0</dc:creator>
      <dc:date>2022-06-30T14:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269243#M54577</link>
      <description>&lt;P&gt;Look into the Action Recorder.&amp;nbsp; Or you can make a command macro, and put it [for example] into a Tool Palette button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BREAKPOINT is not a native AutoCAD command or Express Tool.&amp;nbsp; Do you have it as a custom command definition?&amp;nbsp; Or do you mean BREAK&lt;STRONG&gt;AT&lt;/STRONG&gt;POINT in newer versions [it's not in 2020 that I have here]?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/EM&gt; you have BREAKPOINT as a custom command and what it does is what BREAKATPOINT does, i.e. to have you select an object, then a point at which to Break it without removing anything, or &lt;EM&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/EM&gt; you mean BREAKATPOINT, and &lt;EM&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/EM&gt; for the MATCHPROP part you want to go pick another object somewhere to match part of what you just Broke to, and then pick &lt;EM&gt;which&lt;/EM&gt; part of what you just Broke to match to that other object, this macro [using just BREAK] seems to do that, including repeating automatically [the&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt; *^C^C&lt;/STRONG&gt; &lt;/FONT&gt;beginning]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;*^C^C_.break \_first \@ _.matchprop \\;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 13:57:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269243#M54577</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-06-30T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269268#M54578</link>
      <description>"...how can i link the Shortcut to the command...."&lt;BR /&gt;You don't, that's not an ability in AutoCAD, never has been.</description>
      <pubDate>Thu, 30 Jun 2022 14:03:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269268#M54578</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-06-30T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269345#M54579</link>
      <description>&lt;P&gt;Thanks very much Pendean,Kent Cooper and Dumitru lots of good info there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for clarification i'm using AutoCAD full 2021 which has the BREAKATPOINT i've also installed Lee Mac's BRK/BRKO LISP routine before i realized breakpoints was possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I've used the CUI to create a new command/shortcut&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;assigned this&amp;nbsp;which worked perfectly -&amp;nbsp; *^C^C_.breakatpoint \_first \@ _.matchprop&lt;/LI&gt;&lt;LI&gt;Added it to the Keyboard Shortcuts tab on the top left. &amp;gt;&amp;gt; Shortcut keys and set it the keyboard shortcut to Shift + 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The above works perfectly with the keyboard shortcut and the 2 merged commands.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:25:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/11269345#M54579</guid>
      <dc:creator>tomhY595S</dc:creator>
      <dc:date>2022-06-30T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12680948#M54580</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9903598"&gt;@DumR0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Due to the repetition of the same &lt;SPAN&gt;BREAKPOINT&amp;nbsp;&lt;/SPAN&gt;command and the change of lineweight, I am trying to make a macro that includes these 2 repetitive actions , this is macro created by me:&lt;STRONG&gt;^C^C_.BREAKATPOINT \_first\ _.select \_.change previous ;properties LW;0.15;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the problem:&amp;nbsp; after execution of the BREAKATPOINT command&amp;nbsp; macro stop,&lt;/P&gt;&lt;P&gt;whit the message in commnad promt :&amp;nbsp; Invalid point.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Specify break point:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pleas help me understand where is the mistake in this macro, wy&amp;nbsp; does not go further , to the next command??&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:37:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12680948#M54580</guid>
      <dc:creator>alexandru.alexeN6U84</dc:creator>
      <dc:date>2024-04-02T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12680994#M54581</link>
      <description>&lt;P&gt;The _first option is not appropriate to a BREAKATPOINT command, but would be for a simple BREAK command.&amp;nbsp; If you want to use BREAKATPOINT, run it manually and make note of exactly what it asks for and in what order, and supply the appropriate sequence of inputs to the macro [with &lt;STRONG&gt;\&lt;/STRONG&gt; for user input, &lt;STRONG&gt;;&lt;/STRONG&gt; for Enter].&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:57:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12680994#M54581</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-04-02T10:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: combine 2 or more commands into 1 shortcut</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12681007#M54582</link>
      <description>savage answer..... thanks for help, worked</description>
      <pubDate>Tue, 02 Apr 2024 11:06:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/combine-2-or-more-commands-into-1-shortcut/m-p/12681007#M54582</guid>
      <dc:creator>alexandru.alexeN6U84</dc:creator>
      <dc:date>2024-04-02T11:06:11Z</dc:date>
    </item>
  </channel>
</rss>

