Skip to main content
Aprking
Inspiring
February 15, 2025
Question

Why doesn't the setWindowTitle() function work for InDesign panel extensions?

  • February 15, 2025
  • 2 replies
  • 406 views
Hello everyone, I am seeking help again.
 

 

/**
 * Set the title of the extension window. 
 * This function works with modal and modeless extensions in all Adobe products, and panel extensions in Photoshop, InDesign, InCopy, Illustrator, Flash Pro and Dreamweaver.
 *
 * Since 6.1.0
 *
 * @9397041 title The window title.
 */
CSInterface.prototype.setWindowTitle = function(title)
{
    window.__adobe_cep__.invokeSync("setWindowTitle", title);
};

 

 
This is the documentation for the ADOBE CEP plugin. It states that the setWindowTitle() function works with modal and modeless extensions in all Adobe products, and panel extensions in Photoshop, InDesign, InCopy, Illustrator, Flash Pro and Dreamweaver. However, I have found that I am unable to successfully change the title of the panel in InDesign, even though it works as expected in Photoshop and Illustrator.
 
What could be the reason for this discrepancy in InDesign?
 
Thank you!

2 replies

Peter Kahrel
Community Expert
Community Expert
February 15, 2025

You'll probably get more response on a more specialist  forum like this one:

https://forums.creativeclouddeveloper.com/

Aprking
AprkingAuthor
Inspiring
February 15, 2025

Thank you for your response. I believe this is likely an API interface issue, and I'm afraid this problem can only be resolved by Adobe officially.

Legend
February 15, 2025

Follow Peter's link.

Find the about page.

Think.

 

For your particular problem better also use Uservoice and the point product's (InDesign) developer prerelease program. Put more effort on the latter.

A good test case that illustrates the problem, added straight to the bug base, improves chances to get issues resolved.

 

Also prepare the move to UXP, even though it has its own issues it is at least undergoing active development.

 

Robert at ID-Tasker
Legend
February 15, 2025

Maybe documentation is wrong - and it isn't fully implemented in InDesign.

 

From the beginning - Photoshop's implementation of CEP / UXP plugins was way ahead of InDesign's.

 

Aprking
AprkingAuthor
Inspiring
February 15, 2025

It is said that InDesign CC 2017 version supported this, but later versions have had issues. I dont understand why this bug still hasnt been fixed after so many years of InDesign iterations.