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 العربية
Em alguns programas de tratamento de textos, você poderá criar macros para selecionar e cortar trechos de um texto para colar em outro ou, ainda, passar de um documento para um programa de gestão terminológica.
Exemplo
Um macro do Corel WordPerfect® inserirá dois colchetes consecutivos para isolar o trecho destacado pelo usuário.
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: