Running header
has ever got javascript put running header text variable (paragraph style) text frame?
the documentation woefully inadequate -- seems might secret or something!
hey!
i think work apply paragraph style "title" "running header" variable, , insert selected text frame.
var mysel = app.selection[0]; var myvar = app.activedocument.textvariables.item("running header"); myvar.variableoptions.appliedparagraphstyle = "title"; mysel.texts[0].textvariableinstances.add({associatedtextvariable:myvar});
--
tomaxxi
More discussions in InDesign Scripting
adobe
Comments
Post a Comment