extracting positions from Forcite trajectory file

Hi,
I was wondering if there was a script to extract the atomic positions from a materials studio .trj file? I need to extract the positions to analyse them but I can only get the current frames positions and its quite a long (Forcite) trajectory.

If there isn't a script already would it be possible to write one?

Thanks.