|
|
|
2003 TextMaestro Technologies
|
Example 21
|
(a) Auto-import libraries from file: Top Suppose you got a file which contains some libraries.
Such a file is often referred to as library-file and created by using
Export selected library
to a file If you have a library-file, follow these steps: Step 1: Shut down TextMaestro. Step 2: Place your library-file at: C:\TMT-WorkFiles\Loading-Area\ Step 3: Launch TextMaestro and it will detect library-file in above locale. It will load all libraries from the file and append them to its existing library list. At the end of the process, your library-file will be placed at: C:\TMT-WorkFiles\Loading-Area\BackUp\ That's it!
(b) Import libraries from file: Top Recall, all conversion libraries are saved in: C:\TMT-UserInfo\LibraryInfo\_tmt_library.txt. Therefore, _tmt_library.txt from one user can be handed over to a different user who can import information from it. Furthermore, you can dump a library to a file (see Tip below) and pass around that file for others to import. Here are the steps to import libraries from a file: Launch TextMaestro. Click on Conversion
This will appear:
Click on Library
Click on Import
libraries from file
Libraries imported from user specified your_tmt_library.txt file to current archive:
Recall, we used Import libraries from file
(c) Auto generate library from Output window: Top Recall, a library contains multiple macros. Typically you add a new library and then add macros one after another to the library. For example, you use left Add However, you can auto-generate a library using the text from Output window, in which case the text in the Output window needs to be in a certain format. Recall, each macro consists of two major parts - Find and Replace. The format required to auto-generate library is that each odd line represent Find and the even line, Replace. For example, consider this in Output window:
Open library as shown below:
Click on Auto-generate
library from Output text
Note that only Find
and Replace columns
are filled with information from the output text. The rest of the columns
are filled with default information. To make global changes to these macros
(right side list), use Modify
attributes for multiple items
(d) Import macros from other libraries: Top You can import macros from other libraries to the currently selected library. Open library as shown below:
Now we will import macros from other libraries to Lib-3 library. Click on Import
macros from other libraries
Note how the number of macros in Lib-3 have increased.
|