ARCHIVED 4.6.4. Macro

 

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

Alcuni programmi per il trattamento dei testi vi danno la possibilita’ di creare delle macro per selezionare, tagliare e incollare degli elementi testuali da un documento all’altro, o addirittura da un documento a un software per la gestione terminologica.

Esempio

Una macro di Corel WordPerfect® inserisce le doppie virgolette attorno ai segmenti di testo selezionati dall’utente.

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