LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to link a controls' custom shortcut menu to a new .rtm file?

My project programmatically generates controls from a template. The template has a custom shortcut menu that is saved in the project directory, and the generated controls all work fine with this. However, now I need to be able to export the project to other directories/machines, and so now the generated controls can no longer 'find' the .rtm shortcut file, despite it being in the same folder as the control. This means if I want to be able to use the menu I have to open every generated control (which there can be hundreds of) and right-click -> advanced -> run-time shortcut menu -> and then reopen the file. 

 

Is there any way to programmatically link a controls' shortcut menu to a new .rtm file, or is there any way to set a controls' custom shortcut file as a relative path instead of an absolute one?

 

Cheers

______________________________________________________________


______________________________________________________________
0 Kudos
Message 1 of 1
(2,398 Views)