Wrong text (layer) when capture PDF from viewer window

Yep, that’s what I’m doing t the moment. Tedious!

At what doc type do you capture with DT amd where do you run the PDF of (viewer window 1) Applescript?