07-29-2010 09:45 PM
Is there a way to edit the LabVIEW menu? I'm not looking to edit the run-time menu of the VIs.
It seems like this should be something that should be able to be achieved using the scripting tools.
Thanks
07-30-2010 02:49 AM
Hi Nelson
What menus are are you refering to? The menus in the development enviroment, like File, Edit etc. or the the Functions/Controls Palettes?
Best Regards
David
NISW
07-30-2010 06:36 AM
I'm talking about the LabVIEW dev. environment (File, Tools, Help, Window, etc.)
07-30-2010 07:03 AM
yes it is possilbe.
1. go to Edit
2. run-time-menu
now menu editor is opened. You can define your own menu items which appears when a VI is running.
07-30-2010 07:06 AM
by the way you can catch the selected Item in a event look. See attached screenshot!
07-30-2010 07:33 AM - edited 07-30-2010 07:33 AM
Hi
FHM: Read the the Subject of this thread. It says (not run-time)
Nelson: You can edit the menus in the Development enviroment by going to Tools->Options then selecting Menu Shortcuts. I haven't tried changing these programatically via scripting so I can't say if it's possible or not. Theoretically it should be doable. Give it a try
Best Regards
David
07-30-2010 08:14 AM
Davidek: That menu doesn't allow you to add/delete items only change the keyboard shortcuts.
I've actually gone so far as to put my registry export under source control AND the entire National Instruments directory under source control, installed a 3rd party software which adds a menu item and checked for differences, nothing.
07-30-2010 08:59 AM
You are absolutely right about that, my bad.
Strange that you don't see any changes in the files. I found this wiki that looks to be partly in the right direction.
Best Regards
David
07-30-2010 09:24 AM
Figured it out.
You just have to create a VI, "Action.vi" and a text file "Action.txt" and drop it in the "project" folder if you want it put there. The display of the menu item is just the contents of the txt file.
If you want to create a sub-menu, just create a folder and follow the same directions as above.
Turned out to be fairly simple.
07-30-2010 09:34 AM