ARCHIVED 4.6.4. Macros
Archived Content
Information identified as archived is provided for reference, research or recordkeeping purposes. It is not subject to the Government of Canada Web Standards and has not been altered or updated since it was archived. Please contact us to request a format other than those available.
Consult the Pavel in ...
Español Português Italiano Nederlands العربية
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: "]]")
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: "]]")
- Date modified: