1 2 3 4 5 6 7 8 | #By Doddy H use Win32::API; sub movewin { for my $n(1..20) { Win32::API->new("user32","SetWindowPos",[qw(N N N N N NN)],'N')->Call($_[0],$n,$n,$n,$n,$n,$n); } } |
Ejemplo de uso
1 | movewin(id ventana); |
1 2 3 4 5 6 7 8 | #By Doddy H use Win32::API; sub movewin { for my $n(1..20) { Win32::API->new("user32","SetWindowPos",[qw(N N N N N NN)],'N')->Call($_[0],$n,$n,$n,$n,$n,$n); } } |
1 | movewin(id ventana); |
0 comentarios: sobre [Perl] Funcion movewin
Publicar un comentario para [Perl] Funcion movewin