Hi there, (en español abajo | en français en bas)
Is there anybody that can help me with a JavaScript that would re-apply ObjectStyle to objects (or text frame).
The problem: when I import an Xml into frame that have already an ObjectStyle that applies "ParragraphStyle and next" the «and next» option does not work [InDesignCS6]. The Xml text imported stays we the first ParragraphStyle found.
To avoid re-applying manualy all ObjectStyles, I would like to make a JavaScript that re-applies the objectStyle;
something like:
loop from first to last object found in doc{
myOs=ObjectStyle[i]
reapply ObjectStyle "myOs" to object
goto next object
exit after last
} end loop
Do you think it is a good idea?
Is there anybody that could help me with the JavaScripting
Thanks
Hola,
Me gustaría obtener un JavaScrip para re-aplicar su estilo a un objeto.
Al importar un Xml pierdo la opción de "aplicar etilo siguiente" de los estilos de párrafo.
He pensado que con un JavaScript que reaplique el estilo encontrado al objeto me evitaría hacerlo manualmente.
Gracias
Bonjour
J'aimerais un JavaScript pour ré-appliquer son style à un objet.
Quand j'importe un Xml l'option "style suivant" des style de parragraphe ne s'applique pas.
Je pense qu'avec un JavaScript qui ré-applique le style trouvé à l'objet cela m'éviterais d'avoir a le faire a la main.
Merci