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 العربية

Previous page Next page

Dans certains logiciels de traitement de texte, vous pouvez créer des macros pour choisir, couper et coller des éléments de texte d’un document à un autre, voire d’un document à un logiciel de gestion terminologique.

Exemple

Une macro de Corel WordPerfect® insère des crochets doubles autour des segments de texte surlignés par l’utilisateur.

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: "]]")