I have a script to get every text frame on an active document and export all of these as seperate txt files.
The only thing is i have text frames on the master pages and sometimes on the pasteboard that i dont want to export as txt files.
so how do i exclue master pages and pasteboard
Assuming you're using a relatively recent version of InDesign, check the parentPage property of your text frames. If it is null then your text frame is on the pasteboard, if not, then check its parent. If that's a MasterSpread, your text frame is on a master.
Sorry forgot to put its cs5 and its a modified version of the cs5 exportallstories script. Is there a way in the counter for stories to exclude text frames on the master pages?
Sent from my iPhone