Hello @guillaumebugnon ,
I think another possible way to show an animated gif in a new window, you can use Web Browser Box() function.
Here is a sample script to do this. In this script, you need to create html file, which is embedded gif animation.
nw = New Window( "Example",
<<Show Menu( 0 ),
<<show toolbars( 0 ),
V List Box( Text Box( "Please Wait!" ), Spacer Box( size( 20, 20 ) ), wb = Web Browser Box() )
);
wb << Navigate( "file:///C:/xxxx/xxxx/test.html" );
nw << Set Window Size( 200, 200 );
//test
Wait( 5 );
nw << close window();
Here is an example of an html file.
<!doctype html>
<html>
<body>
<div style="text-align: center">
<img src="./spinner.gif" width="50" />
</div>
</body>
</html>