Skip to main content
wckdtall
Inspiring
November 14, 2023
Question

How do you remove value from app.activeDocument.info.title?

  • November 14, 2023
  • 1 reply
  • 156 views

Trying to reset the value of app.activeDocument.info.title to nothing, but it won't overwrite

//Works
app.activeDocument.info.title = "TEST";

//Doesn't work
app.activeDocument.info.title  = ""


Is there a way to achieve this with info.title or do I have to go through metadata directly? 

This topic has been closed for replies.

1 reply

GNDGN
Inspiring
November 15, 2023

This does the trick:

app.activeDocument.info.title = "\r";
____________________Robotic Process Automation in Desktop Publishing (Book): https://doi.org/10.1007/978-3-658-39375-5