Ho can I prevent users from opening another instance of Inventor

Ho can I prevent users from opening another instance of Inventor

cadadmin
Advocate Advocate
574 Views
3 Replies
Message 1 of 4

Ho can I prevent users from opening another instance of Inventor

cadadmin
Advocate
Advocate

Hello,

 

 Is there a command line or registry edit that can be made to prevent users from opening a 2nd instance of Inventor? This is problematic for "some users" who are working on one project and then open a second project and subsequently  (and continuously) do not realize the items they are working on are no longer set by the parameters of the first projects settings.  

 

Regards,

Tom

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

Xun.Zhang
Alumni
Alumni
Accepted solution

Hello Tom,

Try this - Use AHK. Map your Inventor key to the following script (This one is mapped to Windows+Z).

Each time (Windows+Z) to launch Inventor, the instance active state is checking by default to prevent a new instance.

 

#z::
IfWinExist Inventor
WinActivate
else
Run Inventor://
return

Hope it helps!


Xun
Message 3 of 4

cadadmin
Advocate
Advocate

Xun Zhang,

 

Thank you! I will try that for the users that seem to be having difficulty on a regular basis. While it would be preferable to have a setting in Inventor, or a command line switch, I am up for anything - this should do the job.

 

Regards,

Tom

 

 

0 Likes
Message 4 of 4

Anonymous
Not applicable

I can't see any situation that would benefit from having 2 instances of Inventor running. So why not build the mutex (that's how this thing is called) right into the program ?

0 Likes