How to call VSTA with GUI elements, VSTA shortcuts

Hello all,

I am trying to write a macro/script/plugin for CorelDRAW. My current setup is simple VSTA script, that serves as wrapper for .dll (class library), which contains most of the actual script logic.

This setup works well enough, however the only way I am able to launch it, is through the scripts window, which is really not ideal. I tried adding a GUI button to the workspace (through AppUI.xslt and UserUI.xslt), which I could not get to work - the button is present but clicking it does not do anything. I also tried commands menu under tools->options->customization, but that only lists VBA scripts for me. I cannot even assign shortcut to the VSTA script.

I also found that it should be possible to add interface elements directly in VSTA code, but that seems messy and I could not get it to work anyways.

What is the best aproach to add GUI elements to easily launch the VSTA script? I know that this is rather basic question, however I cannot find any relevant documentation.

Thanks in advance