Copy link to clipboard
Copied

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
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
Copy link to clipboard
Copied
Discussion successfully moved from Forum comments to InDesign Scripting
Copy link to clipboard
Copied
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.
Let me know how it goes.

-Manan
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
-Manan
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Many Thanks, Its works.
Regards,
Sabari
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Great, Thank you so much!!!!.
For your needy help.
Regards,
Sabari
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more