Running Extra! Macros in Reflection Desktop Applies to Reflection Desktop This video shows how to run an Extra! macro in Reflection Desktop. Audio Transcript: 0:09 - 0:24 You can run many of the macros you have created in Extra! in Reflection Desktop without converting them to Reflection Desktop macros. Macros carry forward from Extra! to Reflection Desktop much as documents and macros do when you upgrade Microsoft Office products. 0:25 - 0:36 We’ll run an Extra! Basic Macro in a Reflection Desktop session. First, we’ll check a few of the Refection Desktop settings to make sure we’re set up to run Extra! Macros. 0:36 - 0:41 If you’re upgrading from Extra!, make sure the Extra! Compatibility feature is installed. 0:42 - 0:59 Then open the Reflection Workspace Settings: * If you’re using the modern Ribbon interface, you can access these settings from the File Menu. * If you’re using Reflection Classic mode, which is similar to the Extra! Interface, you can open these settings from the Options menu. 1:00 - 1:11 Now we need to make sure our macros are located in a trusted location. Reflection will not open files unless they are in one of the trusted locations specified in the Trusted Location workspace settings. 1:12 - 1:34 Then we’ll set API and Macro Security. We need to make sure elect Extra! Is selected as the legacy API preference. This setting gives EXTRA! preference for the GetObject() method used to retrieve API COM objects. Reflection supports multiple APIs, but can accept GetObject() calls for only one type of legacy API object at a time. 1:35 - 1:45 The Extra! Macros are associated with the Extra! Basic editor. We’ll use a simple demo macro called Endline that just moves the cursor to the end of the line it is on. 1:45 - 1:58 Before we run the macro – we’ll place our cursor position at the beginning of this line. Now let’s run the macro. If you’re using the Classic mode interface, select macros from the Macros menu. 1:59 - 2:05 Select legacy Extra! Macros. And browse to the Endline macro. 2:11 - 2:19 Now we’ll run the macro and you can see that it has completed successfully and sure enough – our cursor position is at the end of the line. 2:21 - 2:27 If you’re using the Ribbon interface, you’ll open the Run Macro dialog box from the Macros Group and then use the same process to run the macro. 2:28 - 2:38 If your macro is not working as expected, see Running Legacy Macros in the API documentation for a list of unsupported methods and other information. 2:40 - 2:53 For new macros, you can use Microsoft Visual Basic for Applications, This is the same technology used in Microsoft Office and it provides a much more powerful programming interface with additional features not available in Extra!. More Reflection Videos