Yup, it is easier than you initially expect. However, one warning, the only complication is when the title includes an "..." (e.g. Export...) as sometimes it is three full stops in a row, others it is an ellipsis (which is a single character representing three dots in a row) and there isn't any easy way of knowing which has been used by the developer.