|Burwell||Electronics & DIY||Family History||Hi-Fi History||Misc||Natural History||Wild Food||Walks|
|Contents||Index||About the instructions||About mailing list||Mailing list archive|
Makro allows you to maintain many different sets of macros and it also allows you to specify *Commands and system variables, so you can use it for such things as an e-mail address book or an application launcher as well as a text inserter.
For each macro, there is a name and a string field which are defined and edited via a dialogue box - or the file can be assembled and edited in a text editor such as StrongED. The name makes it simple to tell what each macro does. Each macro's name is displayed in the Slab which inserts that macro.
Makro integrates well with StrongED: it is easy to write snippets for insertion and snippets are inserted with no more than a single mouse-click.
Makro was written by Dave Thomas. Dave lost interest in the program and he left the development version Makro 1.59 with me. His last release was on Tristone but that site has been closed. Makro works well but not all the expanded features have been fully implemented.
When loaded Makro will install its icon on the icon bar. Clicking Select on this icon will open Makro's main window which initially will be in the bottom-left hand corner of the screen.
Right of this display icon is a pop-up menu selector which will display a menu of all available macro set. Several example sets are supplied.
Next are left and right bumper icons. Clicking these will cycle through the available macro set.
Top right is an icon which will enable/disable Makro's Hot key.
The rest of the window contains 64 slabs which will display the Names of the macros in this macro set. Note that 64 slabs are provided for possible expansion but only 32 can be used.
A menu click on any slab in Makro's main window will open the menu as shown. This has entries:
You may find it easier to write the macro set direct to its file. See Macro Set Files
Dropping a text file on one of the slabs will load in the first line (i.e. before the first CR) or the first 255 characters of the file, into the slab.
The Hot Key is Ctrl (either left or right). When the mouse pointer is over one of the slabs pressing a Ctrl key will trigger the macro concerned. This is useful for transient menus and dialogue boxes which would otherwise be closed by a mouse click. However this facility can get pretty annoying if you forget you have the pointer over the Makro window. So it is probably best to leave this off until needed.
You can also enter ASCII codes directly by enclosing the code in angle brackets. Base 10 is assumed, but other bases can be used by prefixing the number with the base number and then an underscore. For example, <33> generates ! and <16_7E> generates ~.
However, to facilitate this certain characters must be reserved, or take on special actions. Basically this means that strings enclosed in angle brackets are turned into system variables (or characters) and characters prefixed by | are turned into control characters.
To insert the actual characters (< and |) you must either enter their ASCII codes in angle brackets or prefix them with the control character '|'.
Control characters you may find useful are:
||C||<3>||Copy in most editors|
||X||<24>||Delete/Cut in most editors|
||U||<21>||Clear text in a dialog box|
||V||<22>||Move in most editors|
|Inserted string||511||Expansion of system variables|
|Slabs||64||Only 32 can be used|
|Menus||64||First 64 Makro files|
If you wish to have these sets elsewhere you can alter Makro's !Run file to point to the required location. The line concerned is SetMacro Makro$Path
Each file is a text file so easily written/edited in StrongED. Turning on Line numbers will simplify this - StrongED Window Menu -> Display -> Line numbers -> Physical. By default, line numbering starts at zero so even lines are Names and odd lines are Strings
Makro's own Slab editing icon is short, so long macros are often easiest worked out direct in the macro set file concerned.
Was this page helpful? Please email me and/or rate this page:
Top of page