Coreldraw Macros -

This opens the Microsoft VBA Editor. It looks scary, but here are the essential commands for CorelDRAW:

Instead of using the Macro Play dialog, you can create a custom Docker (toolbar) with buttons for your macros. coreldraw macros

Add this code to create a simple dialog: This opens the Microsoft VBA Editor

Sub ShowMyTools()
    ' This creates a simple UserForm
    UserForm1.Show
End Sub

(You must manually create UserForm1 in the VBA editor using Insert > UserForm). (You must manually create UserForm1 in the VBA

Sub BatchResize()
    Dim s As Shape
    For Each s In ActiveSelectionRange
        s.SetSize s.SizeWidth * 0.5, s.SizeHeight * 0.5
    Next s
End Sub