When shown, the Scripts docker appears on the right-hand side of the application window and displays the list of modules and available macros. The macro selection varies depending on the version of the application installed as well as the installed custom and user macros.
Sub Macro1() ActiveLayer.CreateArtisticText ActivePage.CenterX, ActivePage.CenterY, _ "Hello, world!", Alignment:=cdrCenterAlignment End Sub
Close the editor window, go back to the Scripts docker, select Macro1 from the list, right-click it, and click Run.
You can select an image by clicking Browse.
When you add caption text, this text is used to identify the macro in the user interface of the application.
By dragging the macro out of the Customization dialog box onto a toolbar or menu, you will add a macro button to the user interface.