-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assign keyboard shortcut for commands #93
Comments
Yes, it should be possible just as with any other standard command in SW |
Thanks for the reply. I thought of writing directly to the registry key as suggested here, because I don't think there is an API method to do it. It would be awesome if xCAD could implement it. |
Ah, sorry, you mean you want to assign this from the code, not by the user, right? |
Yes, l'm sorry if it wasn't clear. I'm using your framework to create an addin with some button to lunch VBA macros (like your toolbar+ that I'm not allow to use at my company). If I were able to assign shortcut with the code I could standardize the user experience for all users. I have not tried to assign a shortcut to a button via the SW user interface. |
Hello! I was able to add keyboard shortcuts via the SolidWorks user interface, that's awesome. I you prefer I can close the issue. |
Hi! Sorry to bring it up again. I was able to assign shortcuts via the SolidWorks user interface but sometimes they get switched. I can't pin-point why, but the shortcut I assigned to a command of the add-in is then assigned to another one. Can you help me or show me an area in which I can investigate the issue? Right now I'm clueless. Thanks! |
As per title, is it possible to assign a user-defined keyboard shortcut to commands added via xCAD?
The text was updated successfully, but these errors were encountered: