Merge xtd files

Dear all,

I have 1000 xtd files and each xtd file have only 1 frame now.

xtd.png

I want to write a script to merge these 1000 files into 1 xtd file which have 1000 frames.

What should I do?

Best regards,

Yours

CHENG Xu