Check Keys Pressed against User's custom keyboard shortcuts

Check Keys Pressed against User's custom keyboard shortcuts

Qube-it
Advocate Advocate
484 Views
1 Reply
Message 1 of 2

Check Keys Pressed against User's custom keyboard shortcuts

Qube-it
Advocate
Advocate

Looking through the online help, I couldn't find out if there was a way to access a user's custom keyboard shortcuts.  What I'm looking to do is to be able to terminate my custom command if a user's keyboard shortcut was entered in while my custom command is active.  Any thoughts?

-Brian Hall-
0 Likes
485 Views
1 Reply
Reply (1)
Message 2 of 2

Qube-it
Advocate
Advocate

Ok, found the proper terminology to use: "Command Aliases".  As of right now, the only way I can see to check if what the user types in corresponds to an existing Command Alias is to roll my own search and sort algorithm. 

 

The Inventor behavior launches a Command Alias "list" type of dialogue box in which the user sees a list of relevant commands according to what they entered in on the keyboard.  What's nice is that it only suspends the current command (or at least gives the impression of suspending it) and if the user decides that they didn't want to switch commands, the command that was already in progress picks right back up.  I'm looking to do something like this for my custom command.

 

724iF09C316EF1A468E1

 

 

Is there API support for the Command Alias list dialogue box? 

-Brian Hall-
0 Likes