Coreldraw Macro

  1. Coreldraw Macro Forum
  2. Coreldraw Macros Tutorial

These products have been created by our Technology Partners to enhance the functionality of CorelDRAW.

Usually the macro is launched automatically at startup of CorelDRAW and displays a movable button-sized window, screen position is remembered. There are some options available via rightclicking on this small window, with a some help info in the 'About' menu item. And the section on installing vsta in you coreldraw manual ( in case some things have changed ) RalphU (RU) May 11, 2021, 1:36pm #3. Sirjohn: I have recently found out the corel draw 2021 does not support macros. The full version of CorelDraw 2021 supports macros. System (system) closed June 10, 2021, 1:36pm #4.

Company:Solustan, Inc.
E-mail:dshah@solustan.com
Product Name:LinkMotion
Product Description:
LinkMotion is a 32 bit driver software (just like a printer driver) that works directly with many design applications like CorelDRAW to drive 3 or 4 axis machines. Simply design the job and output the file through the LinkMotion driver using your computer or any motion control board. It works with many motion control boards like Galil, DeltaTau and ScanLab where user does not need to write their own applications. This product is used for various applications like Engraving, CNC, Routing, FoamCutting, CO2Laser, GalvoLaser etc. The user also has the ability to generate G-Codes directly from the design application.
Company:Corel Corporation
E-mail:techpartner@corel.com
Product Name:Serialized Bar Code Generator (PDF 239k)
Product Description:
The user of this system creates a custom label which will contain the barcode and any automatically updated text fields. It allows to replicate and layout multiple labels on a single user-defined page size with control over gutters, borders and output.
Company:Unleashed Productions, Inc.
E-mail:orders@unleash.com
Product Name:EZ Metrics
Product Description:
By itself, CorelDRAW is a very powerful program. But it is lacking some of the features required by technical illustrators. EZ Metrics was created to fill that void. Now it just takes a few clicks to convert an orthographic drawing into axonometric drawings such as Isometric, two forms of Dimetric, and two forms of Trimetric.
EZ Metrics also makes it easy to move and extrude objects in the third dimension based on the type of drawing you are creating. What this all means is that you will be saving time while creating some fantastic technical illustrations.
Company:Unleashed Productions, Inc.
E-mail:orders@unleash.com
Product Name:Unleashed FX
Product Description:
Unleashed FX 11/12 includes three hundred special effects that can easily be applied to any object in Corel PHOTO-PAINT 11/12 or simply created in the font of your choice.
Company:Oberon
E-mail:alexv@oberonplace.com
Product Name:Oberon CurveWorks
Product Description:
Oberon CurveWorks is a set of professional quality macros for working with curves in CorelDRAW. These macros add some missing CAD features to CorelDRAW and help improve document editing workflow.
Company:Oberon
E-mail:alexv@oberonplace.com
Product Name:Color Replacer
Product Description:
This macro allows you replace one color with another quickly. The macro also can preserve tints of spot colors, so you can replace all PANTONE Reds with PANTONE Yellows, even if the red color was tinted on some objects. The resulting yellow color will have the same tint. Even when you replace spot colors with process colors with 'Preserve tints'enabled, the resulting process color will be blended with white proportionally to the spot color's tint.
Company:Oberon
E-mail:alexv@oberonplace.com
Product Name:Calendar Wizard 4.1
Product Description:
Oberon Calendar Wizard 4.1 is a CorelDRAW add-on to create professional quality calendar layouts of various styles and levels of complexity. Designed with high quality output in mind, Calendar Wizard 4.1 offers unparallel flexibility and power to the user. The exceptional features of Calendar Wizard coupled with excellent tools of CorelDRAW allows you to create the best looking calendar designs in a short amount of time.
Company:Oberon
E-mail:alexv@oberonplace.com
Product Name:SecuriDesign
Product Description:
SecuriDesign is a set of macros for CorelDRAW 10/11/12 that allow you to create various designs used frequently in security printing (on certificates, bank notes, documents, and so on). With SecuriDesign now it is very easy to create guilloche patterns right in CorelDRAW document.
Company:Corel Corporation
E-mail:techpartner@corel.com
Product Name:Powered by Corel (PDF 837k)
Product Description:
Are your customers faced with the business pain of importing multiple graphics file formats from vendors and from their own variety of graphics applications? Do your customers need to work in one set of graphics file formats yet publish in others? If these typical graphics file format issues are costing your customers their profits, then they are a candidate for the Powered by Corel solution.
Powered by Corel lets you license the world-renowned Corel file-conversion technology along with the easy-to-use PerfectXchange interface application; now you can solve your customer's file format issues and open up the way to become their graphics services partner.
Company:Whisqu Graphic
E-mail:info@whisqu.se
Product Name:SignCut
Product Description:
SignCut is a user friendly vinyl cutting software which enables fast and easy production of vinyl signs. Simple text can be created directly in SignCut and for graphic designs you can use your favorite graphic design software. In CorelDRAW, SignCut's Quick Export plug-in is installed, which enables instant launching and transfer to SignCut. Unique features in SignCut improve quality and speed with cutting, weeding and mounting, whether working with small text or very large signs. Convince yourself, download a free 30 day's trial.
Company:Corel Corporation
E-mail:techpartner@corel.com
Product Name:Label (PDF 124k)
Product Description:
Output multiple copies of adhesive labels for use in the manufacturing industry. The output is based on the contents of information in a text configuration file and includes fields such as, manufactured Item, part number and quantity. When the labels are generated, they are positioned to minimize wastage of materials. The application also automatically sizes the page length to match the number of labels on a given page as to minimize wastage.
Company:A Signs
E-mail:Andrew@asigns.com
Product Name:SignTools
Product Description:
No sign shop is complete without CorelDRAW. It's essential for importing graphics from a variety of file types. As well as its unmatched design tools it comes with a huge selection of fonts and clip art, which makes CorelDRAW the obvious choice for sign makers. However, exporting designs from CorelDRAW into traditional sign making programs can be problematic.
With SignTools you can cut directly from Corel with a click of a button. You will never need to export your graphics again.
SignTools works from within CorelDRAW 7 and above and contains over 30 specialty sign making and design tools.

Macros

Microsoft Visual Studio Tools for Applications (VSTA) — the successor to VBA, and an excellent choice for developers and other programming experts. VSTA provides the tools and features that you need to create the most advanced macro projects.
Microsoft Visual Basic for Applications (VBA) — a subset of the Microsoft Visual Basic (VB) programming environment, and an excellent choice for beginners. You can use VBA to create basic macros for personal use, but you can also use it to create more advanced macro projects.

For detailed information on the differences between VBA and VSTA, please see the programming guide on the Developer area on the CorelDRAW community website.

To use VSTA macro features with CorelDRAW, you must have Microsoft Visual Studio 2017 installed. To use the VSTA Editor, you must first install Microsoft Visual Studio 2017, Community, Professional, Premium, Ultimate or Enterprise Edition; and then reinstall Microsoft Visual Studio Tools for Applications 2017 from microsoft.com.

If you install Microsoft Visual Studio after installing CorelDRAW Graphics Suite, you must re-install the VSTA macro features by modifying your CorelDRAW Graphics Suite installation. For more information, see To manually install the macro features.

Macros toolbar — provides easy access to common macro functions
Scripts docker — provides easy access to all available macro projects for VBA, and to basic functions for working with those projects
Script Editor (formerly the Visual Basic Editor) — provides advanced functions for creating VBA-based macro projects
Visual Studio Editor — provides advanced functions for creating VSTA-based macro projects. The VSTA Editor is accessible only if you have Microsoft Visual Studio 2017 installed.

The Developer area on the CorelDRAW community website can help you with its wealth of useful resources: a programming guide, detailed Object Model reference documentation with code samples, object model diagrams, and in-depth programming articles and tutorials.

For more detailed information about VBA and its programming environment, please consult the Microsoft Visual Basic Help from the Help menu in the Script Editor.

For more detailed information about VSTA and its programming environment, please consult the Help menu in the VSTA Editor.

To manually install the macro features
1 .
On the Windows Control Panel, click Uninstall a program.
2 .
Double-click CorelDRAW Graphics Suite 2019 on the Uninstall or change a program page.
3 .
Enable the Modify option in the wizard that appears, and follow the instructions.
4 .
On the Features page of the installation wizard, enable the following check boxes in the Utilities list box:
Visual Basic for Applications
Visual Studio Tools for Applications
To specify VBA options
1 .
Click ToolsOptionsCorelDRAW.
2 .
Click VBA.
Macro3 .
In the Security area, specify how to control the risk of running malicious macros by clicking Security Options.
If you want to bypass this security feature, enable the Trust all installed GMS modules check box, and then proceed to step 6.
4 .
On the Security level page of the Security dialog box, enable one of the following options:
Very high — allows only macros installed in trusted locations to run. All other signed and unsigned macros are disabled.
High — allows only signed macros from trusted sources to run. Unsigned macros are automatically disabled.
Medium — lets you choose which macros run, even if they are potentially harmful
Low (not recommended) — allows all potentially unsafe macros to run. Enable this setting if you have virus-scanning software installed, or if you check the safety of all documents that you open.
5 .
On the Trusted publishers page of the Security dialog box, review which macro publishers are trusted. Click View to display details on the selected macro publisher, or click Remove to delete the selected macro publisher from the list.
If desired, you can enable or disable the Trust access to Visual Basic project check box for the selected macro publisher.
Macro6 .
Disable the Delay load VBA check box if you want to load the VBA feature at start-up.
To access the macro tools
Click ToolsScriptsScript Editor.
Click the Script Editor button on the Macros toolbar.
Right-click Visual Basic for Applications in the Scripts docker, and then click Show IDE.
Click ToolsScriptsVisual Studio Editor. (VSTA must be installed on your computer.)

Coreldraw Macro Forum

To create a macro project
In the Scripts docker, do one of the following:
Click Visual Studio Tools for Applications in the list, click New, and then click New macro project.
Click Visual Basic for Applications in the list, click New, and then click New macro project.
Click Visual Studio Tools for Applications in the list, click Load, and then choose the project.
Click Visual Basic for Applications in the list, click Load, and then choose the project.
Right-click the project in the list, and then click Rename.
Right-click the project in the list, click Copy to, and then choose the target location for the copied project.
Click the Simple mode button .
Click the project in the list, click New, and then click New module.
Right-click the project in the list, and then click New module.
Click the module in the list, and then click the Edit button .
Right-click the module in the list, and then click Edit.
Right-click the module in the list, and then click Rename.
Click the module in the list, and then click the Delete button .
Right-click the module in the list, and then click Delete.
Right-click the macro project in the list, and then click Unload macro project.
To create a macro
In the Scripts docker, do one of the following:
Click the container you want, click New, and then click New macro.
Right-click the desired container module, and then click New macro.
Click the macro in the list, and then click the Edit button .
Right-click the macro in the list, and then click Edit.
Click the macro in the list, and then click the Delete button .
Right-click the macro in the list, and then click Delete.
To record a macro
1 .
Click ToolsScriptsStart Recording.
The Record macro dialog box appears.
2 .
In the Macro name box, type a name for the macro.
Macro names can contain numerals, but they must begin with a letter. Macro names cannot contain spaces or non-alphanumeric characters other than underscores ( _ ).
3 .
In the Save Macro In box, choose the macro project to which you want to save the macro.
4 .
Type a description of the macro in the Description box, and then click OK.
5 .
Perform the actions that you want to record.
The application begins recording your actions. If you want to pause recording, click ToolsMacrosPause recording. Repeat this step to resume recording.
6 .
To stop recording, click FileScriptsStop Recording.
The recording of this command is not supported.'), but the recording process continues until you stop it. You can view any comments in the code by opening the macro in the Script Editor.

By default, macros are recorded in the GlobalMacros project so that they can be accessed from other documents. However, you can change the default macro project for recordings by right-clicking another project in the Scripts docker, and then clicking Set as recording project. You cannot specify a locked macro project.

You can cancel recording a macro, and discard any commands recorded thus far, by clicking ToolsMacrosCancel recording.

You can also record, pause, and stop recording a macro by using the Macros toolbar or the Scripts docker (FileScriptsScripts).

To record a temporary macro
1 .
Click ToolsScriptsRecord Temporary Script.
2 .
Perform the actions that you want to record.
The application begins recording your actions. If you want to pause recording, click ToolsScriptsPause Recording. Repeat this step to resume recording.
3 .
To stop recording, click FileScriptsStop Recording.
The macro is temporarily saved to the default recording project. When the current session is ended, the macro is deleted from that project.

By default, macros are recorded in the GlobalMacros project so that they can be accessed from other documents. However, you can change the default recording project by right-clicking another project in the Scripts docker, and then clicking Set as recording project. (You cannot specify a locked macro project.) If you want, you can create multiple temporary recordings by assigning each one to its own macro project.

You can cancel recording a macro, and discard any commands recorded thus far, by clicking ToolsScriptsCancel Recording.

You can also pause and stop recording a temporary macro by using the Macros toolbar or the Scripts docker (ToolsScriptsScripts).

To play a macro
Do any of the following:
Click ToolsScriptsRun Script, or click the Run macro button on the Macros toolbar. From the Macros in list box, choose the project or file in which the macro is stored. From the Macro name list, choose the macro. Click Run.
In the Scripts docker, double-click the macro in the list.
In the Scripts docker, click the macro in the list, and then click the Run button .
In the Scripts docker, right-click the macro in the list, and then click Run.
To play a temporary macro
Click Tools ScriptsRun Temporary Script.

If you have created multiple temporary macros, you must specify which macro project contains the one that you want to run. Right-click the project in the Scripts docker, and then click Set as recording project.

To access Object Model reference documentation from within the Script Editor

Coreldraw Macros Tutorial

1 .
While in Microsoft Visual Basic for Applications, press F2 to display the Object Browser.
The Object Browser displays all the features and functions that can be automated in the Script Editor.
2 .
Choose VGCore from the Library list box.
The Object Browser is updated to display only the features and functions of CorelDRAW that can be automated in the Script Editor. Collectively, these features and functions are called an 'object model.'
3 .
Click an item in the Object Browser, and press F1.

You can also display information for any item in the Code window of the Script Editor by clicking that item and pressing F1.

The features documented in the Help are available in the full version of CorelDRAW Graphics Suite 2019. Some features may not be available in this version of the product.

Was this page helpful? Send feedback.(Internet connection required.)