Keyboard shortcuts

Hi,

Is there any comprehensive list of all the keyboard shortcuts I can use in Visual Components?

Cant seem to find it in options.

And why isn’t the keyboard shortcuts customizable in an easy way?

KR

Generally for Windows (I haven’t used any other system with VC turned on), you click Alt to see the shortcuts, e.g., Alt, you see and use the shortcuts for the various menus, and by clicking on H, you see and use the shortcuts for the various functions of the Home screen.

1 Like

Also, regarding customizing shortcuts, I don’t know if there’s a better way to do it officially, but from what I remember, you can write plugins using python or C# to achieve the effect.

1 Like

There is also a xml file in the appdata that you can edit and add new shortcut keys.

The specific folder is: C:\Users%USERNAME%\AppData\Local\Visual Components\Visual Components VERSION\AppConfig\VERSION\ShortcutKeys

4 Likes

Hi ,there this is also interesting for me. Regarding the XML file.
This is default content:

<?xml version="1.0" encoding="utf-8"?>
<ShortCutKeys>
    <KeyboardPattern modifiers="Control" key="C" actionItemId="AuthorContextCopy" contextId="Author" />
    <KeyboardPattern modifiers="" key="Delete" actionItemId="AuthorContextDelete" contextId="Author" />
    <KeyboardPattern modifiers="Control" key="V" actionItemId="AuthorContextPaste" contextId="Author" />
    <KeyboardPattern modifiers="Control" key="P" actionItemId="Print3DView" contextId="Configure" />
    <KeyboardPattern modifiers="" key="Delete" actionItemId="TeachContextDelete" contextId="Teach" />
    <KeyboardPattern modifiers="" key="Escape" actionItemId="AbortCommand" contextId="All" />
    <KeyboardPattern modifiers="Control" key="C" actionItemId="Copy" contextId="All" />
    <KeyboardPattern modifiers="" key="Delete" actionItemId="Delete" contextId="All" />
    <KeyboardPattern modifiers="Control + Alt" key="F" actionItemId="FillSelected" contextId="All" />
    <KeyboardPattern modifiers="Control" key="F" actionItemId="FillWorld" contextId="All" />
    <KeyboardPattern modifiers="Control + Alt" key="J" actionItemId="GetVersionCommand" contextId="All" />
    <KeyboardPattern modifiers="Control" key="N" actionItemId="NewLayout" contextId="All" />
    <KeyboardPattern modifiers="Control" key="O" actionItemId="OpenFile" contextId="All" />
    <KeyboardPattern modifiers="Control" key="V" actionItemId="Paste" contextId="All" />
    <KeyboardPattern modifiers="" key="Back" actionItemId="PathTeachDeleteCommand" contextId="All" />
    <KeyboardPattern modifiers="Control" key="Y" actionItemId="Redo" contextId="All" />
    <KeyboardPattern modifiers="Control + Alt" key="S" actionItemId="SaveAsFile" contextId="All" />
    <KeyboardPattern modifiers="Control" key="S" actionItemId="SaveFile" contextId="All" />
    <KeyboardPattern modifiers="Control" key="A" actionItemId="SelectAllCommand" contextId="All" />
    <KeyboardPattern modifiers="Control" key="F7" actionItemId="ToggleFeatureTreeAutoSharing" contextId="All" />
    <KeyboardPattern modifiers="Control" key="Z" actionItemId="Undo" contextId="All" />
    <KeyboardPattern modifiers="Control" key="Q" actionItemId="ToggleStatementCommand" contextId="Teach" />
</ShortCutKeys>

Can anyone tell me/us somethging about the actionItemID? Is there any list or possibility to know which Ids are existing?
Br, Florian#

As far as I know the ActionItemIDs are based on the .NET ActionItems. So you can create a .NET command as IActionItem and then use the ID to register that command to a shortcut.

If I remember correctly you can see all of the Actions from the ICommandRegistry Actions property.

Hi, thanks a lot for it. I will try following the tutorial.
Br, Florian