Hi Jang
Thank you for reply, I would like to test your script.
But according to your screen capture, I don't find the options save mif files back to fm.
And I don't want the script to be limited in a selection of book file.
Usually we save all fm files (could be only part of the books) to mif format and translate them with Trados, then save the translated mif files back to fm format.
So dealing with all opened documents or files in a specific folder would be appropriate for me.