Old 21st January 2007, 22:57   #1
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
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
PepaR is offline   Reply With Quote
Old 22nd January 2007, 18:28   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd January 2007, 22:15   #3
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
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...
PepaR is offline   Reply With Quote
Old 24th January 2007, 08:28   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Simply paste that function from the page to your script and call the function from where it's needed.
code:
Call GetCurrentAutoCADKey
MessageBox MB_OK "AutoCAD ID is $2"


NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump