LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Get Active Tool Number

Hi,

 

Is there a way to programmatically get the currently active diagram/panel tool ? (Operate, Select, Enter Text, Wire, Menu, Drag, Breakpoint, Probe, Copy Color, Paint…).

Ideally in case the Auto-Tool is selected, it should also give which actual tool is active:

raphschru_0-1698943674308.png

 

I have found a private App property, but that is throwing error 1028 "Attribute selector is invalid":

raphschru_2-1698944493014.png

 

Apart from checking the mouse cursor image through the Windows API, I see no other way…

 

I would need this to have a better contextualization in my new right-click plugins.

 

Thanks,

Raphaël.

0 Kudos
Message 1 of 2
(433 Views)

I am not aware of any way to programmatically retrieve the current tool (position, operate, select, wire, etc.) in LabVIEW.

0 Kudos
Message 2 of 2
(400 Views)