Message 1 of 1
SendKeys doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
This is my code:
Sub newd()
AppActivate ("Autodesk Advance Steel 2019")
AutoCAD.Application.ActiveDocument.SendCommand "_DIMSTYLE" & vbCr & vbCr
SendKeys "{ENTER}", True
End Sub
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.
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.
Is there someone who know how to use sendkeys in other windows like Styles Manager or Plot manager?