If visible, hide, else, show! …
hi all, something wrong or not understood! var mydoc = app.activedocument; var mycondition = mydoc.conditions.itembyname("xxx"); if (mycondition.visible = true) mycondition.visible = false; else mycondition.visible = true; thanks in advance! (^/) what issue ? code looks nothing fonctionnalités me ! unless condition not exist on document. More discussions in InDesign Scripting adobe