Coreldraw - Bonus630DevToolsBar - Run Command Docker - Introduction

Опубликовано: 19 Май 2026
на канале: bonus630
502
9

#Bonus630DevToolsBar

In many times i going to Macro Manager Docker to creates C# macros, c# macros have the advantage over addons becauses dont requires
close and reopen coreldraw all times when the codes changes, is very usuful to makes tests, but if you code breaks coreldraw crashes
and the visual studio will close then is heigher the risk to lost the lasts changes in code. Another disadvantageis require the
specifique version of visual studio.

To work around this disadvantage and maintains the "hot code edit" vantage, i have creates a addon docker whose monitor a folder to display a tree wich
contains dll,class,method.

This tool will permits editions in dll files and not required reopen coreldraw similary Macro Manager Docker,this tool can importa CGSAddon file creates in CorelDraw Macro Manage, but you dont lost code if coreldraw crashes
permits the use any visual studio version, and use VB not only C#
Uses the same macro official template, located in the [corel installation folder]/Data/VGCoreApp.vstax, but only requires custom attributes to works fine,
you can creates you self template
https://docs.microsoft.com/en-us/visu...

In monitored folder can puts many dll.To create the dll use Class Library Template .net framework (not core, not standart) in visual studio
A dll can contains many class.
A class can contains many methods.

class require the attribute [CgsAddInModule] and [CgsAddInConstructor] in the constructor method, pass the coreldraw application object in the constructor
methods require the attribute [CgsAddInMacro]
this works like VSTA macros in Macro Manager.

after you can reuse yous dll in another projects.

I use many times the vsta macros to makes tests, i has create this tool to personal uses, but maybes helps you too

0:00 Configuring a project (Not required anymore)
1:02 Choose binary folder (Mandatory in first use)
1:35 Draw a Rectangle (code)
2:04 Add a new Class (code)
2:46 Get Shape Area (code) (Now the tool use threads, Clipboard require    • Coreldraw - Bonus630DevToolsBar - RunComma...  )
3:52 Rotate a Shape to SmallArea (code)
8:28 Loop for (code)
10:29 Delete all shapes in page (code)

This tool is now part of Bonus630DevToolsBar, this a older version but is valid

✅ Source Code - https://github.com/bonus630/Bonus630D...

✅ Installer - https://bonus630.com.br/downloads/bon...
⚠ Last Version Last Version hash in playlist description