When working with Pres Connect designer, in my standard script is there a way I can detect through scripting if the current window tab is design or preview mode?
Another follow up question: Does standard script runs on design mode or only in preview mode?
I noticed when I try add a background in the standard script like so
var sourceImg = BackgroundResource.RESOURCE_PDF; var background = merge.template.contexts.PRINT.sections["Notice"].background; background.source = sourceImg; background.allPages = true; background.url = artwork;
I can see this triggers on design but not in preview. Which is bizarre
Thank in advanced.