use the View object and the View.State property
var desktop = Application.Desktop;
var views = desktop.ActiveLayout.Views;
for( i=0; i<views.Count; i++) {
if ( views(i).Floating == true )
{
Application.LogMessage( views(i).FullName );
views(i).state = 1;
}
}
On Thu, Nov 26, 2015 at 10:39 AM, Leendert A. Hartog <[email protected]>
wrote:
> Hi Stephan,
> Would you care to share your little “floating windows closing script”?
>
> Greetz
> Leendert
> AKA Hirazi Blue
> Softimage hobbyist
>
> *From:* Stephan Woermann <[email protected]>
> *Sent:* Wednesday, November 25, 2015 9:02 PM
> *To:* [email protected]
> *Subject:* Re: Windows 10 - what's the current verdict.
>
> At SI start, i have problems with floating windows. The first opened have
> sometimes no buttons and is frameless. Especially with the render preview.
> When all floating windows are closed with the help of a script, the issue
> is gone...
>
> Latest NVidia driver is used. From SI2013-15.
>
>