<?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: Create Command Aliases for Custom CUI Commands &amp;amp; VBA Macros in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8813142#M138704</link>
    <description>&lt;P&gt;&lt;FONT color="#000080"&gt;Hi&amp;nbsp;@Anonymous,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;Then, we are two.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;Regards,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 14:27:26 GMT</pubDate>
    <dc:creator>Johanna_Esteban</dc:creator>
    <dc:date>2019-05-24T14:27:26Z</dc:date>
    <item>
      <title>Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808792#M138699</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to find a straightforward tutorial on how to apply command line shortcuts/aliases to a list of custom commands (some listed below). I have no problem creating the custom commands &amp;amp; VBA macros, but I want to be able to type the shortcut (on the command line), press enter and have the command run. How do I set this up? The closest I've come so far is creating a custom menu, but I don't want to have to use the ribbon or menus, I use command line commands for everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[Shortcut] - [Custom Command]&lt;/LI&gt;&lt;LI&gt;GP - get previous&lt;/LI&gt;&lt;LI&gt;SR - shademode, realistic&lt;/LI&gt;&lt;LI&gt;S2 - shademode, 2D&lt;/LI&gt;&lt;LI&gt;S3 - shademode, 3D&lt;/LI&gt;&lt;LI&gt;SX - shademode, XRay&lt;/LI&gt;&lt;LI&gt;UX - Rotate around X axis&lt;/LI&gt;&lt;LI&gt;UY - Rotate around Y axis&lt;/LI&gt;&lt;LI&gt;UZ - Rotate around Z axis&lt;/LI&gt;&lt;LI&gt;MC - Mirror Copy&lt;/LI&gt;&lt;LI&gt;LO - Layer off&lt;/LI&gt;&lt;LI&gt;LN - Layer on&lt;/LI&gt;&lt;LI&gt;CS - Change Space&lt;/LI&gt;&lt;LI&gt;CCN - VBA macro for modelling spheres&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 21:31:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808792#M138699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T21:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808819#M138700</link>
      <description>You need to use LISP to do more than just call the start of every command. That forum is over here &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;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2019 21:49:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808819#M138700</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2019-05-22T21:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808860#M138701</link>
      <description>In a nutshell one will require a third-party interface point such as ACADDOC.lsp.&lt;BR /&gt;&lt;BR /&gt;Inside file will be things like:&lt;BR /&gt;(defun c:CFN () (load "CustomFileName_CFN")(c:CFN)) ;description&lt;BR /&gt;&lt;BR /&gt;The load shows file name longhand with keystroke suffix as part of file name.&lt;BR /&gt;Only a suggestion. Note that keystroke is defined on startup but the actual&lt;BR /&gt;tool is loaded (and redefines the keystroke) on the first call of that tool.&lt;BR /&gt;&lt;BR /&gt;If one wishes to create an alias of the custom command, try this:&lt;BR /&gt;(defun c:CF () (c:CFN)) ;alias of CustomFileName&lt;BR /&gt;&lt;BR /&gt;For VBA, the command is likely longhand and you can use this structure:&lt;BR /&gt;(defun c:MVBA () (command "My_VBA_Tool")) ;description&lt;BR /&gt;&lt;BR /&gt;Other suggestion is to use AUTOLOAD for the non-VBA tools.&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2019 22:16:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8808860#M138701</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2019-05-22T22:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8809026#M138702</link>
      <description>&lt;P&gt;&lt;FONT color="#000080"&gt;Hello&amp;nbsp;@Anonymous,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;I do not do lisp yet, but I have assigned Shortcut Keys for some commands for which there are no aliases, such as the "shademode, 2D" you mention.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;From Manage, User Interface...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;Find the command (2), drag it to the "Shortcut Keys" menu (3) and select properties (4) to take you to the window (5) to press the keys you want to use.&lt;/FONT&gt;&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="Shortcut keys 2.JPG" style="width: 992px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/639705i79335CDB9F67405C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shortcut keys 2.JPG" alt="Shortcut keys 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;In this part it is not possible to assign the letters S2, but if it could be SHIFT + 2, which are also very close, what do you think?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;To make my life easier, the commands that I use the most I have assigned to the mouse, I do not know if you have one that offers multiple functions and the possibility of customizing it (I show you mine).&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/quick-mouse-buttons/m-p/8571701#M966727" target="_blank" rel="noopener"&gt;(I show you mine)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;I hope it helps.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;Greetings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 00:43:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8809026#M138702</guid>
      <dc:creator>Johanna_Esteban</dc:creator>
      <dc:date>2019-05-23T00:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8811580#M138703</link>
      <description>&lt;P&gt;Hi Johannaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I am already using "shift+F2" etc. for other custom commands. It looks like I need to learn how to write 'lisp' scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hamish&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 21:39:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8811580#M138703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-23T21:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Command Aliases for Custom CUI Commands &amp; VBA Macros</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8813142#M138704</link>
      <description>&lt;P&gt;&lt;FONT color="#000080"&gt;Hi&amp;nbsp;@Anonymous,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;Then, we are two.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;Regards,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:27:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-command-aliases-for-custom-cui-commands-amp-vba-macros/m-p/8813142#M138704</guid>
      <dc:creator>Johanna_Esteban</dc:creator>
      <dc:date>2019-05-24T14:27:26Z</dc:date>
    </item>
  </channel>
</rss>

