<?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 SendKeys doesn't work in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/sendkeys-doesn-t-work/m-p/8801485#M5526</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub newd()
AppActivate ("Autodesk Advance Steel 2019")
AutoCAD.Application.ActiveDocument.SendCommand "_DIMSTYLE" &amp;amp; vbCr &amp;amp; vbCr
SendKeys "{ENTER}", True
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i start it, command "_DIMSTYLE opens the window with dim style manager. Next i would like to "click"by vba the "TAB" key but it doesn't work. When i manually close manager, vba start clicking TAB.&lt;/P&gt;
&lt;P&gt;For example, when i put ENTER instead of TAB - when close manager , autocad click enter which start last command _dimstyle. So SendKeys method doesn;t work in my new opened windows but only in main autocad space.&lt;/P&gt;
&lt;P&gt;Is there someone who know how to use sendkeys in other windows like Styles Manager or Plot manager?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 09:39:01 GMT</pubDate>
    <dc:creator>kambed91</dc:creator>
    <dc:date>2019-05-20T09:39:01Z</dc:date>
    <item>
      <title>SendKeys doesn't work</title>
      <link>https://forums.autodesk.com/t5/vba-forum/sendkeys-doesn-t-work/m-p/8801485#M5526</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub newd()
AppActivate ("Autodesk Advance Steel 2019")
AutoCAD.Application.ActiveDocument.SendCommand "_DIMSTYLE" &amp;amp; vbCr &amp;amp; vbCr
SendKeys "{ENTER}", True
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i start it, command "_DIMSTYLE opens the window with dim style manager. Next i would like to "click"by vba the "TAB" key but it doesn't work. When i manually close manager, vba start clicking TAB.&lt;/P&gt;
&lt;P&gt;For example, when i put ENTER instead of TAB - when close manager , autocad click enter which start last command _dimstyle. So SendKeys method doesn;t work in my new opened windows but only in main autocad space.&lt;/P&gt;
&lt;P&gt;Is there someone who know how to use sendkeys in other windows like Styles Manager or Plot manager?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 09:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/sendkeys-doesn-t-work/m-p/8801485#M5526</guid>
      <dc:creator>kambed91</dc:creator>
      <dc:date>2019-05-20T09:39:01Z</dc:date>
    </item>
  </channel>
</rss>

