ProgramAPI.modifyMenuText

 

long modifyMenuText(string oldTextList, string newTextList)

This method looks for SDM menu items corresponding the those in the comma-separated list oldTextList, and replaces each one found with the string in the corresponding position in the comma-separated list newTextList. Thus, the two lists must contain the same number of items.  A valid entry for oldTextList is any item listed under  Valid Menu Items.