TheSwamp
CAD Forums => CAD General => Topic started by: Pad on May 05, 2015, 04:04:40 PM
-
Hi
I have some software that runs within autocad. It is dongle protected. Everything works fine when its dongle is plugged in, but it is not possible to run autocad without the dongle. A screen pops up warning of the absent dongle and autocad locks up. If the menu for the software is unloaded then autocad will start fine. So I am trying to make a lisp that will unload the menu if loaded and vice versa. If all works to plan then I can run the lisp before shutting down autocad to remove the menu and run the lisp when I have he dongle and want to make use of it.
Here is what I have, but its not working:
(defun C:ktfa (/)
(if (null ((menugroup "KEY")))
(command "menuload" "C:\Users\Metrix_PB\AppData\Roaming\Key\support\key.cuix") ; i have also tried this with \\
(command "_MENUUNLOAD" "KEY")
)
(princ)
)
Any help will be appreciated.
Thanks
-
Actually scrap that, the menu loaded or unloaded doesnt make any difference, I thought it did.
I'll have to find some other way to stop the software loading.
P
-
Try looking for any support apps that load with it, like arx files...
-
Hi Stusic, I few arxs get loaded, I'll look into that. Thanks
-
Will it work if you create a different shortcut for when you want to work without the dongle?
Have the 2nd shortcut point to a profile that does not load the menu using.
-
Yeah, that could work. I'll give it a go. Thanks.
-
Do you know about the profile switch in the shortcut target?
-
Yeah I should be able to figure that out.
Thanks.
Sorry, Ive just realised I posted this thread in the wrong forum..
-
On a side note, I'm curious what "dongle protected" menus are?
-
I think that means the supporting program uses a local hardware lock.