We received a lot of feedback on the tip about scaling multiple objects, asking for step-by-step instructions for accessing macros in Corel DESIGNER X5.
Here's more information about different ways to run existing macros:
Note that Corel DESIGNER (same as CorelDRAW) macros are stored in files with the extension "GMS" (global macro storage). There are 2 locations (\GMS folders) you can save macros in for Corel DESIGNER X5 so that the application can automatically find and load it:
a) Application installation folder (usually C:\Program Files\Corel\Corel DESIGNER Technical Suite X5\Designer\GMS).
On 64-Bit Windows you need to look in C:\Program Files (x86)\.. instead.
b) User specific application settings folder. The user specific \GMS folder can be found in C:\Users\<username>\AppData\Roaming\Corel\Corel DESIGNER Technical Suite X5\Designer\GMS .
Step 1: Save the macro file (*.gms) to one of the \GMS folders (locations mentioned above)
Step 2: Start Corel DESIGNER X5
Note that *.gms files are loaded on startup of the automation interface. You need to restart the application when adding new GMS files to those locations while running Corel DESIGNER
Step 3: Access your macro using one of the following methods:
A) Run the macro using the "Run Macro..." command in Tools > Macros
The dialog provides access to all loaded macro files (*.gms) currently stored in one of the GMS folders.
You can pick the macro file you want to access by its name and then select the macro you want to run:
...click "Run" to start the selected macro.
B) Macro Manager
With Corel DESIGNER X5 we introduced a more elegant way to display and select macros to work with (run, edit or even record new macros).
The new Macro Manager docker can be accessed through Tools > Macros > Macro Manager or with the shortcut Alt + Shift + F11 .
The docker provides a full view on loaded macro projects with all their components. You can Run a selected macro using the Play button or perform other operations such as Record new macros, Edit or Delete a specific macro using the tool buttons at the bottom of the docker.
C) Add a custom tool bar button or menu item
For accessing frequently used macros it's most useful to add a button to a tool bar for running the macro. Use the Customize... dialog (Tools > Customization...) for accessing loaded macros in the Commands tab (select "Macros" menu from the dropdown list) and assign tool name, tool tip text and an icon to it. Drag that custom command as a button to any tool bar on screen or add it to a menu by dragging it into that menu.
If you want to share custom UI items with other users, you can export your workspace (or parts of it) as XSLT file. In the Options dialog > Workspace you'll find the corresponding option.
Import UI elements to your workspace
In that same dialog window you can import workspace files that you received (i.e. "Multi-Resize EN.xslt" from the recently published tip).
Follow the steps for selecting the *.xslt file, then confirm the workspace elements to be imported (in that example it's one tool bar only) and specify the target workspace (the current one or a new workspace to be created) for the custom UI elements.
If it's a custom tool bar that is imported, you will need to activate that tool bar with a right click on any existing tool bar on screen:
...click onto the imported custom tool bar ("Multi Scale" in this example) to make it visible on screen.
Wed, Feb 22 2012 12:00