I only need content details of my code

Hello

See collected than the details of master page text to down the code using Indesign javascript:

If (master [i] .parentPage .textFrames [j]! = null)

{

"content +="------"" master [i] .name + "------",-"" + master [i] [j] .silence + "\"\r "; .textFrames

}

If my content is empty in my master page (for example B-Master page), I don't have need details on top of code, I need content only on the detail of the master page only, can someone help me with the new code. FYI I don't need the details highlighted below snapshot.

1.png

by hasvi

Hi Hasvi,

Try this.

If (master [i] .parentPage .textFrames [j]! = null)

{

If (master [i] .textFrames [j] .silence! = "")

{

"content +="------"" master [i] .name + "------",-"" + master [i] [j] .silence + "\"\r "; .textFrames

}

}

Kind regards

Cognet

Tags: InDesign

Similar Questions

Maybe you are looking for