Archive: AutoCAD ID as Variable in path


AutoCAD ID as Variable in path
Dear Developers, I'd like need identify AutoCAD ID and use as varibele for pathes, could you help me and show how is possible do this?

I know about this article http://nsis.sourceforge.net/Detectin...rsion_and_path

But It doesn't working.

Thanks for reply


Does nothing work with that script or does it find some strings and not others? Your best bet is probably seeking the registry a bit yourself and seeing if things changed or moved in newer versions of AutoCAD.


No, no, I'm not able use script and don't know how it implement? Please show me, how can I do it on same example...


Simply paste that function from the page to your script and call the function from where it's needed.

Call GetCurrentAutoCADKey
MessageBox MB_OK "AutoCAD ID is $2"