This is a simple script to automatically say "Yes" to the Question window that asks "Do you want to remove '[TM name here]' from the settings?" after clicking the Remove button.
#IfWinActive ahk_exe SDLTradosStudio.exe
#Persistent
SetTimer, RemoveTM, 1000
return
RemoveTM:
IfWinExist, Question, Do you want to remove
Send y
return
Default Studio behavior:
Behavior with the script running: