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

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

Contributor ,
Feb 15, 2025 Feb 15, 2025
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
 *
 * @Param 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!
TOPICS
Scripting , SDK
148
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
Community Expert ,
Feb 15, 2025 Feb 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.

 

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
Contributor ,
Feb 15, 2025 Feb 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.

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
Community Expert ,
Feb 15, 2025 Feb 15, 2025

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

https://forums.creativeclouddeveloper.com/

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
Contributor ,
Feb 15, 2025 Feb 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.

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
Guide ,
Feb 15, 2025 Feb 15, 2025
LATEST

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.

 

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