Hi,
I'm running into a small problem. I'm batch processing drawings by opening
them and then running a script via the SendStringToExecute command. This
works just fine for most drawings, but sometimes AutoCAD(2009) just sits
there until I move my mouse across the drawing and then it suddenly
proceeds to execute the script.
I already tried locking the document, hiding/showing the window, minimizing
maximizing it, programmatically trying to raise a mouseclick event, forcing
focus to another part of the application, but nothing seems to work except
physically moving the mousecursor over the drawing and even then AutoCAD
has to have to focus for it to work. I even resaved the drawing but to no
avail.
So I want to know if there's another way to execute a script that I could
try, something like ed.document.ExecuteScript.
Rinze