How to respond to an add-in's window (pop-up) in AutoCAD programmatically ?

How to respond to an add-in's window (pop-up) in AutoCAD programmatically ?

Kh.mbkh
Advocate Advocate
710 Views
3 Replies
Message 1 of 4

How to respond to an add-in's window (pop-up) in AutoCAD programmatically ?

Kh.mbkh
Advocate
Advocate

When starting an AutoCAD add-in (with the command "StartPlong"), a pop-up window appears:

Capture.PNG

I wonder if it's possible to answer this window (pop-up) by checking the CheckBox1, clicking the button 2, and 3 ... programmatically.

By searching on the Net, I found some solutions (Use Spy++ to get hundle of buttons ... ) but can't come up with a solution.

N.B.: We don't have any information on the language used to create this foreign Add-in

Thanks !

0 Likes
Accepted solutions (1)
711 Views
3 Replies
Replies (3)
Message 2 of 4

_gile
Consultant
Consultant

Hi,

What you are trying to do is hacking. You will not get any help on this forum to do that.
You need to go directly to the publisher of this add-in.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 4

Kh.mbkh
Advocate
Advocate
Accepted solution
It seems that you didn't understand what "Hacking" is...
So for anyone who may be interested, I fixed my issue using PywinAuto (A Python library) to do Scraping.
0 Likes
Message 4 of 4

jhsct
Observer
Observer

I use AutoIt for things like this.  The nice thing is that it has a .NET API so I can incorporate the code directly into my plugins.

FYI, I do not believe that this is considered hacking but would rather fall under automation as all that AutoIt is doing is moving the mouse for you and/or clicking buttons, or....

0 Likes