<?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: Pagesetup macro in AutoCAD LT Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473631#M9324</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3516395"&gt;@Jorosph&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Just new to macros.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No worries, we all started the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get in the habit of carefully reading what the commandline is trying to tell you: if you cannot read with comprehension, you can't customize very well or efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case you responded in your MACRO with an answer that was not from the short list that entry was looking for (in other words it asked for Portrait/Landscape but your macro answered ARCH)&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="pendean_0-1665434893539.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1125632iF3518785C15A5538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_0-1665434893539.png" alt="pendean_0-1665434893539.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test it out and try again. you're doing great so far, you just need to understand what the program is telling you is going wrong.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 20:50:42 GMT</pubDate>
    <dc:creator>pendean</dc:creator>
    <dc:date>2022-10-10T20:50:42Z</dc:date>
    <item>
      <title>AutoCAD LT - Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473300#M9318</link>
      <description>&lt;P&gt;I want to make a shortcut for page setup, since all of our drawings have the same layout. I was automating this in Autohotkey, but it proved too cumbersome. I found out I can do the same thing with the -PAGESETUP command, so I made this macro in Long String Editor:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;^C^C_-Pagesetup;
Dwg To PDF.pc3;
ARCH Expanded D (36.00 x 24.00 Inches);
i;*l;n;l;f;c;y;
mbs.ctb;
y;a;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I marked where the code stops working and switches to user input with an asterisk (*).&lt;/P&gt;
&lt;P&gt;Can anyone tell me why this won't work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;[ The subject line of this post has been edited to include the product name by &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12851358"&gt;@handjonathan&lt;/a&gt; ]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:21:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473300#M9318</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-11T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473367#M9319</link>
      <description>What does the actual commandline error/prompt state? That's important to know too.</description>
      <pubDate>Mon, 10 Oct 2022 18:05:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473367#M9319</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-10-10T18:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473448#M9320</link>
      <description>&lt;P&gt;there isn't an error, it just stops for user input at page orientation. The part I marked is where it's supposed to provide input for that step&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1125606i90507A249F978F70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 18:40:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473448#M9320</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-10T18:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473506#M9321</link>
      <description>&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3516395"&gt;@Jorosph&lt;/a&gt;  Are you new to AutoCAd by chance? I may have assumed too much, forgive me.&lt;BR /&gt;&lt;BR /&gt;Use the keyboard CTRL+F2 key combination to see more than one single line at the commandline, OR expand the commandline to be 3-4-5-10 lines tall as you test your macro to find out what might actually be going on.&lt;BR /&gt;&lt;BR /&gt;Give it a try, post a new screenshot showing your full macro run until it stops. It's how we all do it.</description>
      <pubDate>Mon, 10 Oct 2022 19:22:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473506#M9321</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-10-10T19:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473582#M9322</link>
      <description>&lt;P&gt;Opening an AutoCAD LT 2018/AutoCAD 2018 format file.&lt;BR /&gt;Substituting [simplex.shx] for [AIA Sans].&lt;BR /&gt;Regenerating model.&lt;BR /&gt;*Cancel*&lt;BR /&gt;Command:&lt;BR /&gt;Autodesk DWG. This file is a TrustedDWG last saved by an Autodesk application or Autodesk licensed application.&lt;BR /&gt;Command:&lt;BR /&gt;Command:&lt;BR /&gt;Command:&lt;BR /&gt;Command: _-Pagesetup&lt;BR /&gt;Enter an output device name or [?] &amp;lt;DWG To PDF.pc3&amp;gt;:&lt;BR /&gt;Enter paper size or [?] &amp;lt;ARCH full bleed D (36.00 x 24.00 Inches)&amp;gt;: Dwg To PDF.pc3&lt;BR /&gt;&amp;lt;Dwg To PDF.pc3&amp;gt; not found.&lt;BR /&gt;Enter paper size or [?] &amp;lt;ARCH full bleed D (36.00 x 24.00 Inches)&amp;gt;:&lt;BR /&gt;Enter paper units [Inches/Millimeters] &amp;lt;Inches&amp;gt;:&lt;BR /&gt;Enter drawing orientation [Portrait/Landscape] &amp;lt;Landscape&amp;gt;: ARCH&lt;BR /&gt;Invalid option keyword.&lt;BR /&gt;Enter drawing orientation [Portrait/Landscape] &amp;lt;Landscape&amp;gt;: *Cancel*&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 20:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473582#M9322</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-10T20:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473588#M9323</link>
      <description>&lt;P&gt;Just new to macros.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 20:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473588#M9323</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-10T20:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473631#M9324</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3516395"&gt;@Jorosph&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Just new to macros.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No worries, we all started the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get in the habit of carefully reading what the commandline is trying to tell you: if you cannot read with comprehension, you can't customize very well or efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case you responded in your MACRO with an answer that was not from the short list that entry was looking for (in other words it asked for Portrait/Landscape but your macro answered ARCH)&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="pendean_0-1665434893539.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1125632iF3518785C15A5538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_0-1665434893539.png" alt="pendean_0-1665434893539.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test it out and try again. you're doing great so far, you just need to understand what the program is telling you is going wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 20:50:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473631#M9324</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-10-10T20:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473642#M9325</link>
      <description>&lt;P&gt;So, the reason it's doing that is because it's skipping over the first question entirely. Where it's supposed to enter "DWG to PDF.pc3" it just skips the question. that's why it enters ARCH, because it's part of the paper type. But why is it doing that? Why won't it enter the output device in the first place?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 20:59:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473642#M9325</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-10T20:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473689#M9326</link>
      <description>&lt;P&gt;My bad, I did not follow my own advice of reading through the prompts thoroughly either.&lt;/P&gt;
&lt;P&gt;Your macro failed at the beginning, you (and I in this case) missed this important fact in macros: blank spaces are the same as &amp;lt;enter&amp;gt; in macro writing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aren't you basically trying to replicate this tip&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cad-notes.com/how-to-automate-autocad-with-command-macros/" target="_blank"&gt;https://www.cad-notes.com/how-to-automate-autocad-with-command-macros/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 21:36:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11473689#M9326</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-10-10T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11474460#M9327</link>
      <description>&lt;P&gt;Put your items with spaces inside quotation marks e.g.&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;DWG To PDF.pc3"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then try the macro again&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 08:29:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11474460#M9327</guid>
      <dc:creator>h_s_walker</dc:creator>
      <dc:date>2022-10-11T08:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11478158#M9328</link>
      <description>&lt;P&gt;So now that I have everything set up, it only works some of the time. It doesn't recognize the chosen paper type occasionally. Its the same as before, but this time the error is actually on the paper type line. Is there some way to force it or just skip that step if it doesn't work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command:
Command: _-PAGESETUP
Enter an output device name or [?] &amp;lt;C:\Users\clay\AppData\Roaming\Autodesk\AutoCAD LT 2019\R25\enu\plotters\DWG To PDF.pc3&amp;gt;: "Dwg To PDF.pc3"
Enter paper size or [?] &amp;lt;ANSI_expand_A_(11.00_x_8.50_Inches)&amp;gt;: ARCH D (36.00 x 24.00 Inches)
&amp;lt;ARCH D (36.00 x 24.00 Inches)&amp;gt; not found.
Enter paper size or [?] &amp;lt;ANSI_expand_A_(11.00_x_8.50_Inches)&amp;gt;: I
&amp;lt;I&amp;gt; not found.

... [continues like this for the rest of the macro]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I have that paper size already pulled up, the macro works fine, but that takes the purpose out of it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 16:48:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11478158#M9328</guid>
      <dc:creator>Jorosph</dc:creator>
      <dc:date>2022-10-12T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD LT - Pagesetup macro</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11479520#M9329</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3516395"&gt;@Jorosph&lt;/a&gt;&amp;nbsp;Can you post the actual code you have written down so we can test it. Also we will need a list of the paper sizes from your DWG to PDF.pc3 file, but looking at your text above for the page size try putting underscores instead of spaces because that's what its' default page is showing&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 08:49:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/autocad-lt-pagesetup-macro/m-p/11479520#M9329</guid>
      <dc:creator>h_s_walker</dc:creator>
      <dc:date>2022-10-13T08:49:21Z</dc:date>
    </item>
  </channel>
</rss>

