J
JOHABE
Hello there,
I'm writing a macro that displays the KeyBindings associated with commands
in my custom commandbarcontrols.
I can get the keybindings from autotexts, styles, and macros, beacuse i can
retrieve their identifying names from the commandbarcontrol object:
from the Parameter property and the OnAction property.
However, when the control contains a built-in word command (say File Open),
I can only retrieve the command-ID (23 for File Open) from the control.
This does not help me in finding the keybindings associated with that
command, because the KeysBoundTo command requires a command NAME
("FileOpen"), not an ID.
How can I solve this? Is there a way to associate ID's with command names?
Or another solution maybe?
Any help will be appreciated!
I'm writing a macro that displays the KeyBindings associated with commands
in my custom commandbarcontrols.
I can get the keybindings from autotexts, styles, and macros, beacuse i can
retrieve their identifying names from the commandbarcontrol object:
from the Parameter property and the OnAction property.
However, when the control contains a built-in word command (say File Open),
I can only retrieve the command-ID (23 for File Open) from the control.
This does not help me in finding the keybindings associated with that
command, because the KeysBoundTo command requires a command NAME
("FileOpen"), not an ID.
How can I solve this? Is there a way to associate ID's with command names?
Or another solution maybe?
Any help will be appreciated!