Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
4

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

Enthusiast ,
Nov 14, 2023 Nov 14, 2023

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? 

93
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2023 Nov 14, 2023
LATEST

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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines