To automatically switch profiles at startup I want to create a script that "looks" from which directory a *.DWG drawing is opened from. This detection script runs directly when AutoCAD starts up.
If the user opens a drawing from c:\tek\ then "profile_one" has to be selected, and if the user opens a drawing from every other directory then "profile_two" must be selected.
Please can you help me to "detect" from which directory a drawing is opened.
Thanks in advance!!
With kind regards,
Atmoz
(from the Netherlands, so excuses my English)