Search billions of records on Ancestry.com
   

How to Use Arachnophilia
By: CCmahoni


Keyboard Macros

Keyboard Macros Button
This powerful feature allows you to define 26 keyboard macros (expansions of a keystroke), one for each letter of the alphabet. While using the editor, just press Alt-(letter) to activate your macro.

If you want, you can embed Arachnophilia menu commands in your macros. You can also make one macro call another, and you may specify a number of repetitions.

For example: You can create one macro with a style for a table cell:

Macro A:<TD> align=center>my data</TD>

(remember: you don’t type “Macro A:”, just the characters that follow).

Then you can specify a row of such cells with another macro:

Macro B:<TR> [macro:a][macro:a][macro:a][macro:a]</TR>\p

Then you can assemble the entire sequence into a table:

Macro C:<TABLE>\p[macro:b][macro:b][macro:b][macro:b]</TABLE>\p

Using the macros set up as discribed above, I started with a basic blank page see starting source code. I then used my keyboard and hit my "Alt" and "C" keys at the same time. The macros created a table as discribed, see the final source code.

See the actual results of using this to create a table on a page Macro Test page 1

Then, having written your individual macros, you can go back to the top macro and change the cell formatting for the entire table by typing just one entry.

For example, if you change Macro A to this --

Macro A:<TD align=center> [fulltaggraphic]</TD>

-- and run Macro C, the program will ask you for 16 graphic file names (one at a time) and create a 4 x 4 table of the results.

See the actual results of using this to create a table on a page Macro Test page 2

What happens is macro C sets up the overall structure for the table, then calls Macro B four times to create the rows. Macro B creates the rows and calls Macro A four times per row to create the table data cells.

This is a great time saving tool for when you use the same code over and over! Just copy the code and paste it into the macro Key you want to use. then click apply.

Back to Tool bar
Back | Next

You are the   Visitor to this page.

This Page Was Last Updated: Monday, 14-Feb-2000 19:08:57 MST

The Date is  The time is   PST.

Return to County Coordinator Help
Return to COGenWeb Page.
copyright © 1999, 2000 Mary Ann Hetrick Genmom5@aol.com