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

How can i remove this marked palette in Indesign menu bar.

Community Beginner ,
Dec 10, 2018 Dec 10, 2018

Image.jpg

How can i remove this marked palette in Indesign menu bar.

It is unexpectedly came from running some scripts while testing.

Please advise me.

Thanks in Advance,

Sabari K

TOPICS
Scripting
1.3K
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

correct answers 1 Correct answer

Community Expert , Dec 14, 2018 Dec 14, 2018

Hi Sabari,

if the menu comes back after restarting there is either an installed plugin or a startup script that is causing this.

Uninstall InDesign, clean all preferences and caches. Reinstall.

Regards,
Uwe

Translate
Community Expert ,
Dec 10, 2018 Dec 10, 2018

Discussion successfully moved from Forum comments to InDesign Scripting

ABAMBO | Hard- and Software Engineer | Photographer
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 ,
Dec 10, 2018 Dec 10, 2018

This menu item can be created by either a plugin or a startup script. First step would be to identify which of these is that.

  • Did you install any plugin recently, try removing that and see if it removed this menu
  • Check the same for any scripts that you might have installed, check the startup scripts folder look the attached screenshot and see if the said folder has any script present, if it has try remove that and see if the menu disappears
  • Also after doing the above two steps, try trashing the InDesign preferences http://www.tech4pub.com/2012/10/10/indesign-tip-reset-preferences-to-improve-performance/

Let me know how it goes.

Screen Shot 2018-12-10 at 9.37.51 pm.png

-Manan

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 Beginner ,
Dec 12, 2018 Dec 12, 2018

I had tried both occurrence for your instruction, no improvements.

Any sample scripts to delete that above mention reqirements.

I you have any other options to delete that palette, very needful for me

Thanks for your valuable time.

Thanks

Sabari

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 ,
Dec 12, 2018 Dec 12, 2018

So you mean to say you don't have any new plugin installed neither any startup script is installed? And you also trashed the InDesign preferences?

Lets verify it, could you please post a screenshot of the following

  • The contents Plug-In folder of InDesign.
  • The contents of the startup scripts folder
  • Also a screenshot of Window>Extensions menu in InDesign. I suppose a CEP extension can also add menu entries(not quite sure though, but never harms to check)

-Manan

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 ,
Dec 12, 2018 Dec 12, 2018

Hi Sabari,

did you perhaps tinker with ExtendScript's menuItems.add() method?

And now you do not know a way to remove the item?

Regards,
Uwe

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 ,
Dec 12, 2018 Dec 12, 2018

sabarinathank82094987  wrote

…It is unexpectedly came from running some scripts while testing. …

What scripts did you test?

What's the exact name of the menu?

I can see that it is a submenu of menu main.

FWIW: There is also the method remove() for submenus.

I'd try something like the code below:

var subMenuToRemove = app.menus[0].submenus.itemByName("New Menu");

if( subMenuToRemove.isValid ){ subMenuToRemove.remove() };

If something goes wrong I'd suggest you uninstall and reinstall InDesign.

Regards,
Uwe

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 ,
Dec 13, 2018 Dec 13, 2018

Hi Uwe,

I never had to add in the remove code explicitly. Once the script adding the menu was removed, the menu vanished after trashing the preferences. Is there some use cases where the menu gets stuck even after script removal?

Thanks

-Manan

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 Beginner ,
Dec 13, 2018 Dec 13, 2018

Many Thanks, Its works.

Regards,

Sabari

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 Beginner ,
Dec 14, 2018 Dec 14, 2018

It will comes again while restarting the machine.

Any other sample scripts to delete permanently.

Otherwise, how can i get my scripts in that menu bar.

Because, I am trying to show my scripts in that Menu bar like Drop Down.

How to get my scripts that menu bar.

It will very needful for me.

Please advise me.

Thanks in Advance

Regards,

Sabari

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 ,
Dec 14, 2018 Dec 14, 2018

Hi Sabari,

if the menu comes back after restarting there is either an installed plugin or a startup script that is causing this.

Uninstall InDesign, clean all preferences and caches. Reinstall.

Regards,
Uwe

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 Beginner ,
Dec 14, 2018 Dec 14, 2018

Great, Thank you so much!!!!.

For your needy help.

Regards,

Sabari

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 Beginner ,
May 16, 2019 May 16, 2019

sample.JPG

Hi,

I need one clarification, because we have facing one issue.

While generating pdf, that particular textframe fit into too small.

So, that its reflect empty page.

Please advise, what is the reason the frame going into small.

I have attached image.

Thanks in Advance,

Sabari

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 Beginner ,
May 16, 2019 May 16, 2019
LATEST

sample.JPG

Hi,

I need one clarification, because we have facing one issue.

While generating pdf, that particular textframe fit into too small.

So, that its reflect empty page.

Please advise, what is the reason the frame going into small.

I have attached image.

Thanks in Advance,

Sabari

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 Beginner ,
Feb 19, 2019 Feb 19, 2019

Unjustify lines.PNG

My sample Coding:

myDoc=app.documents[0];

x=myDoc.paragraphStyles.length;

for(i=2;i<x;i++){

myParaStyle=myDoc.paragraphStyles.item(i);

if(myPstyle.pointSize>10|| myPstyle.justification==unjustifiaction){

}

}

alert("completed")

How to find unjustify lines throughout the document.

For Example:Style- (Text_Ind & Left Justify)

I had tried sample coding, but not works properly.

I had attached sample screen shot.

Do you have any other sample scripts.

Please Advise me

Thanks in Advance,

Sabari K

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