Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
DRoam
608 Views, 1 Reply

Create a keyboard alias/shortcut via iLogic/VBA

Is it possible to set up a keyboard alias via iLogic or VBA? To clarify, I'm not trying to assign a shortcut key to an iLogic rule or VBA macro. I am trying to set up an alias or keyboard shortcut for an Inventor command via the API.

 

In other words, before the code runs, the "iProperties" command has no keyboard shortcut. After the command runs, the "I" key or "Ctrl+I" is now the shortcut for iProperties. This should affect the actual Customization settings so it persists from session to session.

 

Is this possible?

JamieVJohnson2
in reply to: DRoam

CommandControl.KeyTip property states it is read/write  "Gets and sets the keyboard access key for the control."

Otherwise, you are creating a customization xml file, and importing it (the real permanent method).  Unsure if you can do that via code at this time.

jvj