After refering to the analogartist reference, i have copie the simui.menus to my home directory( or work directory), and modify it to add a menu in Tools by add this line ("mytool" ?callback()) in the Tools section of the simui.menus file, but this menu did not turn up when the analogArtist stratup. it seems that the default menus are loaded in ADE. Does anyone know the reason? when i use the command ddGetStartupAll("menus"), the result shows ("~/menu"), i think it is the menu folder which i placed in my home folder. i got quite confused about how to add a user menu in ADE, thanks for explaining this method to me.
by the way, i have load this menu by adding this line "load("~/menu/simui.menus")" in my .cdsinit.
Based on an email message sent to me by NcfC (not sure why that user didn't post here, since they posted before) - the email was a bit scramble, but it said
NcfC said:When I load the above code into CIW, I don't get any error nor warning
messages, but I don't see the added menu entry in the ADE window.Could
you help me?Thank you very much in advance.Best regards,Noel Carneiro
Well, you're not supposed to load the code into the CIW. You're supposed to create a file called spectre.menus in a subdirectory called menus (e.g. as a subdirectory of your working dir or home dir).