I am trying to quickly make an event case that reacts to mouse clicks on a very large number of different controls.
Ideally I would automatically generate and link an event case to each of the controls by using VI Scripting (not yet supported yes, I know...), but so far I have been unable to find a way to define the events of each case in a script...
However, an alternative would be to manually create one case that reacts to mouse clicks on all the controls. The problem then is that the event editor is so extremely inefficient to work with. You cannot select more than one control and one event at a time: you have to click on the add button, select the next control and event, add again etc. If e.g. it was possible to just select all the controls, the mouse event and voila...doing it manually would be OK.
Is there a hidden way to define events quicker? (or do it in a script;-))
PS. For now I have made a general mouse click handler that reacts to mouse clicks in a given VI, scans through the control positions and finds out if any of the controls were clicked...but I would prefer something more elegant...