I am building a travelogue for an extended trip my wife and I are doing to Costa Rica. I would like to use MTMacro to create links to maps for cities that I mention in my travelogue so friends and family will know what part of the country I am referring to.
For instance, if I type . . . .
QUOTE
The wife and I visited Santa Elena today and we had a wonderful time talking with the local people. They were impressed with our Spanish skills.
I would like to generate this . . .
CODE
The wife and I visited <a href="javascript:openfile_santa-elena()">Santa Elena</a> today and we had a wonderful time talking with the local people. They were impressed with our Spanish skills.
I also want to use the same type of search/replace to link to pictures of animals that we might refer to in the travelogue.
My question is, I can figure out how to use MTMacro but instead of defining 100 different macros for all the different cities I want to use a module to define the city/link relationships. I have no idea where to begin writing such a module.
Any tips, tricks, links, suggestions?
Thanks to all in advance for your help.
Ryan