This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
Samuel Murray オランダ Local time: 20:13 2006に入会 英語 から アフリカーンス語 + ...
Programmable...
Dec 18, 2023
Hans Lenting wrote:
Samuel Murray wrote: The one unique feature of WFC is that it runs inside Microsoft Word.
This makes WFC the only CAT tool that can be programmed without the need of any third-party tools (AutoHotkey, Keyboard Maestro, ...).
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": 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.
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]
Philippe Locquet
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Well, yes, although it depends what you mean by "programmable". You can't edit the WFC macro(s) yourself.
Exactly those tasks that you described, and tasks that Ms Word can do, like: make the nth word (= an object) in the current paragraph (= another object) bold/italics, etc.
Or: write the last words of the par with the source and the target to your glossary, without the need of selecting them: no need to use the mouse or to move the text cursor. That's just beautiful. I did that all the time, when I used WfC in the past millennium.
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Exclusive discount for ProZ.com users!
Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value
Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.