4.6.4. Macros
With some word processors, you can create macros for selecting, cutting and pasting text elements from one document into another, or even from one document into terminology management software.
Example
This Corel WordPerfect macro will insert double brackets around the segment of text highlighted by the user.
Application (WordPerfect; "WordPerfect"; Default!; "EN")
AttributeAppearanceToggle (Attrib: Bold!)
PosCharNext ()
SearchString (StrgToLookFor: "")
SearchCaseSensitive (State: Yes!)
MatchPositionBefore ()
SearchPrevious (SearchMode: Extended!)
Type (Text: "[[")
SearchString (StrgToLookFor: "")
SearchCaseSensitive (State: Yes!)
MatchPositionBefore ()
SearchNext (SearchMode: Extended!)
Type (Text: "]]")
|