Macros List
Macros list is the main dialog of program where you manage all of macros, toolbars and menus, that are presented in +Macros. In other words, it is the development environment of +Macros core. Here you can:
- add, modify or delete macros,
- assign hotkeys to macros
- import and export macros
- extend and organize VFP menu
- create and configure additional toolbars
- and more...
This is the screenshot of Macros List dialog:

Macros list - hierarchical tree of macros, submenus and toolbars.
Description area:
Id - Unique macro identifier. When you create a new one, the system
generates it automatically.
Hot Key - Hotkeys are used for quick access to macros.
Name -
Macro name. It is shown in the +Macros menu.
Icon - Macro icon. Available in Visual FoxPro 7.0 and 8.0 only.
Enabled - current status of a macro.
Brief text description
Fox Script editor - Macro source code. You can write macros in the
FoxScript language.
How to...
You can create you own macros by using the
FoxScript language:
- You need to open the Macros list dialog.
- Click Add new macro in the toolbar. New macro will be automatically created with the unique ID
- Define the Hotkey - used for quick access to the macro.
- Define the Name - the macro name. It is shown in the +Macros menu.
- Define the Icon - the macro icon. Available in Visual FoxPro 7.0 and 8.0 only.
- Define the Enabled option - select this option if you want to add this macro to the +Macros menu.
- Write a brief Description for a new macro.
- Edit the FoxPro Script - the macro source code. Here you can write the macro code in the FoxScript language.
back to TOC
Hotkeys are used for quick access to macros.
- Select from the macros list the macro which hotkey you want to add (or modify).
- Enter the hotkey to be assigned in the hotkey field. Or click [...] and go to the next step
- When special dialog appears - press the combination of keys, that you want to be used for launching current macro.
Syntax:
[[Ctrl|Alt|Shift]+]<HotKey>[,<ShortName>]
<HotKey> - hotkey name;
<ShortName> - short description, which is shown in the +Macros menu.
Examples: Ctrl+C; Alt+LeftArrow, "Alt+Left"
back to TOC
You can import different macros from the .mrk files and use them in your +Macros.
- Click on Import a macro from file button in toolbar of Macros list dialog.
- In appeared Import dialog specify the .mrk file you want to import.
- You will see the list of macros contained in the selected file.
- Tick those macros that you want to be imported
- Click on Import button.
back to TOC
+Macros supports creation of macros from template files. Template files may contain one or several macro definitions and have the .mkr extension. You create such files when you export macros to files. If you want to use such file as a template, please perform the following steps:
- Export macros to the .mkr file.
- Move the .mkr file to the %InstallPath%\Templates folder.
The %InstallPath% folder is a folder, where you install +Macros system ("C:\Program Files\+Macros" by default).
back to TOC
You can create new macros by using the template files (see steps below). Templates contain definitions of various macros. There are several pre-installed examples of such templates, but you also can create your own templates.
- Run the Import macros from templates command from the Macros list dialog.
- In appeared dialog, select macros, that you want to import from templates:
- Click Import button.
back to TOC
You can export any of your macros to the .mrk file(s). And in future you can import them from these file(s). That procedure is required when you upgrade from one version of product to another.
- Click Export macros in the toolbar of Macros list dialog.
- In appeared dialog tick macros you want to export.
- Click on Ok button to export.
- Enter file name and specify the folder where the file will be saved.
You can add exported file to the template folder. Know Why?
back to TOC
- Select the macro you want to delete and click Delete macro button in the toolbar.
Note: Be careful when you delete a menu because all child macros will be deleted too.
- Click the Save button to apply your changes and save them, or ...
- If you do not want to save changes, click the Cancel button.
back to TOC