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

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

InDesign CC 2015 won't open - plugplugowl.dll

Digital ID Error Code 2148073483