TheSwamp
Code Red => VB(A) => Topic started by: MSTG007 on March 10, 2014, 08:51:42 AM
-
I have the following code:
AcadApp.ActiveDocument.SendCommand "-xref" & vbCr & "detach" & vbCr & "*" & vbCr
AcadApp.ActiveDocument.SendCommand "_layers" & vbCr & vbCr
How can I get AutoCAD to Either (TAB) or (ENTER) or (UP / DOWN ARROWS)?
I have a popup I want to tab until I get the button I would like to press.
Thanks!
-
A space in your string, " ", will tell AutoCAD to use [Enter].
-
and for tab, vbTab or chr(9). believe both of those work.