Hi
I wondered whether anyone could help me do the following:
I need to write a Javascript script to iterate through all the text frames of all the pages of the active document
i.e.
This should be very simple - i am just not quite getting my head around the DOM
Can anyone help me?
Many thanks
Duncan
Kind Regards
Duncan
I wondered whether anyone could help me do the following:
I need to write a Javascript script to iterate through all the text frames of all the pages of the active document
i.e.
Code:
for (p=0; p < app.activeDocument.pages; p++) {
for (t=0; t < app.activeDocument.pages.textFrames) {
alert( p,t );
}
}
This should be very simple - i am just not quite getting my head around the DOM
Can anyone help me?
Many thanks
Duncan
Kind Regards
Duncan