Trados Studio
Trados Enterprise
Trados Team
Trados GroupShare
Trados Business Manager
Passolo
MultiTerm
RWS AppStore
Connectors
Beta Groups
Managed Translation
MultiTrans
TMS
WorldServer
Language Weaver
Language Weaver Connectors
Language Weaver Edge
Tridion Docs
Tridion Sites
LiveContent S1000D
XPP
Language Developers
Tridion Docs Developers
Community Help
RWS User Experience
Internal Trados Ideas Community
Mercury
RWS Community Internal Group
RWS Training & Certification
Style Guides
RWS Campus
RWS Enterprise Technology Partners
Trados Approved Trainers
ETUG (European Trados User Group) Public Information
Nordic Tridion Docs User Group
Tridion West Coast User Group
Trados Studio Ideas
Trados GroupShare Ideas
Trados Team Ideas
Trados Team Terminology Ideas
Trados Enterprise Ideas
Trados Business Manager Ideas
MultiTerm Ideas
Passolo Ideas
RWS Appstore Ideas
Tridion Docs Ideas
Tridion Sites Ideas
Language Weaver Ideas
Language Weaver Edge Ideas
Managed Translation - Enterprise Ideas
TMS Ideas
WorldServer Ideas
LiveContent S1000D Ideas
Contenta S1000D
XPP Ideas
Events & Webinars
To RWS Support
Detecting language please wait for.......
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.; #Warn ; Enable warnings to assist with detecting common errors.SendMode Input ; Recommended for new scripts due to its superior speed and reliability.SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.^q::;Toggle to the source side and select up to the end of the lineSend, {F6}Send, +{End};Toggle to the target side and select up to the end of the lineSend, {F6}Send, +{End};Quickly add the selections to the default termbaseSend, ^+{F2}Sleep, 1000;Go to the next segmentSend, ^{Enter}return
*) Daredevils can add a loop to the macro.*) I guess that multi-line segments will need something like +{EndOfSegment} instead of +{End}?
Caveats:
- The macro stops at identical targets (probably at identical sources too ...).- It doesn't handle synonyms correctly (you'll have to prepare the input manually).
AutoHotkey macro to add the current segments (source and target) to the default termbase:
#NoEnvSendMode InputSetWorkingDir %A_ScriptDir%;Name: QuicklyAddCurrentSegmentsAsTermpairToTermbase.ahk;Purpose: Use this script to quickly add the current source and target segment as a term pair to the default termbase.^q::;Toggle to the source side and select up to the end of the segmentSend, {F6}Send, ^+{Down};Toggle to the target side and select up to the end of the segmentSend, {F6}Send, ^+{Down};Quickly add the selections to the default termbaseSend, ^+{F2}Sleep, 1000;Go to the next segmentSend, ^{Enter}return
AutoHotkey macro to add all segments (source and target) to the default termbase:
<img style="max-width:800px;" src="">res.cloudinary.com/.../quzhpt8jtbxkqixtiknm.png" alt="Screen Shot 2022-05-28 at 07.29.36">
#NoEnvSendMode InputSetWorkingDir %A_ScriptDir%;Name: QuicklyAddAllSegmentsAsTermpairToTermbase.ahk;Purpose: Use this script to quickly add all segments as term pairs to the default termbase.;All segments must be unconfirmed (Edited or Not Translated)^w::InputBox,Var,Quickly Add Term Pairs, How many Term Pairs (segments) do you want to add to the default Termbase?loop, % Var{;Toggle to the source side and select up to the end of the segmentSend, {F6}Send, ^+{Down};Toggle to the target side and select up to the end of the segmentSend, {F6}Send, ^+{Down};Quickly add the selections to the default termbaseSend, ^+{F2}Sleep, 1000WinWaitActive, Selected Term Already Exists,,1if !ErrorLevelSend, {Enter};Go to the next segment; if you don't want to store translations in your TM, replace Send, ^{Enter} with Send, ^{Down}Send, ^{Enter}}return