Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Tutorial

EmEditor Macro Reference: Edit Macro

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Tutorial

Edit Macro

EmEditor automatically makes the last macro used the default macro. To edit the default macro, select the Edit Macro command.  The macro opens in a new EmEditor window. If you wish to open a non-default macro, select the Select Macro command and choose the macro you wish to edit.  This action sets the macro to default. You can now edit the macro by selecting the Edit Macro command. In this tutorial, we will edit tutorial.jsee or tutorial.vbee. Upon opening one of the files, the following text should appear:


   document.selection.Text="EmEditor supports macros.";


   document.selection.Text="EmEditor supports macros."

The above code uses the Text Property and tells EmEditor to insert the text "EmEditor supports macros." at the current cursor location.

Next Topic:

q Specifications of Macro Document Object Model (DOM)

Copyright © 2003-2021 by Emurasoft, Inc.