Beginners manipulate one shape at a time. Pros manipulate (collections of shapes). This allows you to perform actions on a group of objects simultaneously without looping, which is significantly faster.
Assign a custom keyboard shortcut to your new macro. Now, that entire sequence happens instantly whenever you press those keys. Level 2: Third-Party Macros
Sub ChangeAllOutlinesToRed() ' This macro changes all objects on the active page to have a 1pt red outline Dim s As Shape Dim sr As ShapeRange ' Get all shapes on the active page Set sr = ActivePage.Shapes.All coreldraw macros better
Stop settling for "it works." Start demanding "it works every time , instantly, and without thinking."
For Each p In ActiveDocument.Pages For Each l In p.Layers If l.Visible = True Then For Each sh In l.Shapes ' Perform action on every visible shape in the entire document sh.Fill.UniformColor.RGBAssign 255, 0, 0 Next sh End If Next l Next p Beginners manipulate one shape at a time
If you want to start optimizing your specific setup, let me know:
CorelDRAW has a built-in VBA editor ( ALT+F11 ) that allows you to write custom scripts. Assign a custom keyboard shortcut to your new macro
Think of a macro as a digital assistant that remembers exactly how you like your workspace set up or how you prepare a file for a vinyl cutter. 5 Reasons Macros Make Your Workflow Better 1. Elimination of Repetitive Tasks
Supercharge Your Workflow: Why CorelDRAW Macros Make You a Better, Faster Designer
Unlocking Efficiency: Why CorelDRAW Macros Make You a Better Designer
Add your macro to the context menu that appears when you right-click an object. This is the holy grail for alignment and styling macros.