Open read only script wont default to 2019

Open read only script wont default to 2019

apatterson2APPDE
Participant Participant
881 Views
2 Replies
Message 1 of 3

Open read only script wont default to 2019

apatterson2APPDE
Participant
Participant

We have been using this script from cad-notes.com for some time now:

http://www.cad-notes.com/open-autocad-drawings-as-read-only-using-right-click-from-explorer/

 

Issue: We just upgraded to 2019 but the script still opens autocad files in 2017. 

 

-At this point we do still have 2017 installed on our machines (so this may be a non-issue when that gets removed).

-I have set all autocad related files to open in 2019 by default.

-Opening autocad files normally through windows explorer does open them in 2019.

-The script file still "reverts" to 2017. 

-I was having an issue getting .dwt files to default to 2019, but when I fixed that the readonly script started defaulting to cadworx 2017 for some reason Smiley Frustrated

 

Does anyone know a fix for this, or will it solve itself when we get rid of 2017?

 

Sorry, I would post to the original page where the script was shared, but I don't have an account with that site.

 

Thanks.

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

JTBWorld
Advisor
Advisor
Accepted solution

You can hard code what version to open.

For 2019 change from "AutoCAD.Application" to "AutoCAD.Application.23"


Jimmy Bergmark
JTB World - Software development and consulting for CAD and license usage reports
https://jtbworld.com

Message 3 of 3

apatterson2APPDE
Participant
Participant
Thank you very much, jtbworld! That worked great. Much appreciated.
0 Likes