01-30-2012 05:16 PM
Hi,
Does anybody have any idea how to set the state of the project window (and also vi block diagrams) using scripting. I want to be able to ensure that only one window is at a decent size at any time - since otherwise labview tends to block everything behind it when you tab to another application.
Seems like the project window state is read only, and the methods 'close window' and 'close' actually unload the whole project.
JP
Solved! Go to Solution.
02-01-2012 07:18 AM
Hello,
I have had a little look at this and from my first investigation it appears that yes this is only a read-only attribute.
I will continue to have a look and see if I can come up with a workaround however.
02-01-2012 08:03 AM
Since you can't do it using LabVIEW methods, one workaround that I can think of is to use the OS. For example, on Windows you can use the Windows API. The Windows API Functions for LabVIEW could be used for this.
02-01-2012 12:51 PM
Thanks,
That seems right. It took a little messing around to make sure that i got the right window name for the project explorer - but now it works well.