Quantcast
Channel: ProZ.com Translation Forums
Viewing all articles
Browse latest Browse all 3905

What are the unique features of your CAT tool? | Programmable...

$
0
0
Forum: CAT Tools Technical Help
Topic: What are the unique features of your CAT tool?
Poster: Samuel Murray
Post title: Programmable...

[quote]Hans Lenting wrote:
[quote]Samuel Murray wrote:
The one unique feature of WFC is that it runs inside Microsoft Word. [/quote]
This makes WFC the only CAT tool that can be programmed without the need of any third-party tools (AutoHotkey, Keyboard Maestro, ...). [/quote]
Well, yes, although it depends what you mean by "programmable". You can't edit the WFC macro(s) yourself.

1. The individual steps taken by WFC are addressable as individual macros. You can't edit those macros, but you call them in another macro.

For example, in WFC the shortcut for inserting a placeable is Ctrl+Alt+down. What I wanted is that if I use this shortcut while text is already selected in the target field, then the selected text should be put on the clipboard before the placeable is copied. So, I created a macro that copies the selected text and THEN executes the WFC macro that places the placeable, and tied that macro to Ctrl+Alt+down.

The source and target fields in WFC have specific names in Visual Basic, which means that you can use macros to manipulate the content of these two fields while WFC is running.

2. WFC also allows you to specify a macro or macros to be run at various points.

These options are listed in WFC's advanced settings (PB):
Macro_PreSegmentation=
Macro_PostSegmentation=
Macro_QualityAssurance=
Macro_StartSession=
Macro_EndSession=
Macro_Maiden=
Macro_Retire=

So, if I want a macro to run at what WFC calls the "postsegmentation" stage, I just create it, name it, and add its name here in the settings. The WFC user manual says the following about "postsegmentation": [i]The PostSegmentation macro is executed when the translator "closes" a segment, immediately before closure. "Closing" a segment happens if you press Alt+Down on an opened segment, or Alt+Up, or Alt+End, or any other shortcut that closes the currently opened segment. That macro is typical meant to check for errors and warn the user.[/i]

So, if I work for a client who has certain words that are often misspelt, I can create a macro that contains those words and then checks for the presence of those misspellings every time I move to the next segment.

3. And of course, you can run macros that process the source text outside of WFC as well.

[Edited at 2023-12-18 13:18 GMT]

Viewing all articles
Browse latest Browse all 3905

Trending Articles