Delete Menu item from standard Menus


#1

I’m trying to create some custom Standard Menus. I want to delete the “Speech” menu item in the Standard “Edit” Menu. I can delete the 2 sub menus from “Speech” but I can not fiqure out how to delete “Speech”.


#2

I think this will do it.

standardeditmenu("Speech"+tab(),"")

I figured this out by opening the Formula Workshop, and typing in the formula

standardeditmenu()

Scrolling to the bottom of the result, I saw this line:

Speech	(Speech)

I knew that the space between Speech and (Speech) was actually a tab (the character between the menu name and the options will always be a tab). But if you didn’t know that, you could figure it out by using this formula instead,

replace(standardeditmenu(),tab(),"¬")

then the line will look like this:

Speech¬(Speech)

So now I know enough to design an arrayhack to delete the item.

See these topics in the help for more info: