Hello,
I've got one question. I'm tring to make my life easy and try to made some script for loading multiple windows and logging by sending keystrokes. The target application is putty. So what is done till now. I'm using in main cases windows API. So i start the putty, find the handle and because there is protection against typing passwords need to type it with windows api functions. Everything is ok and works fine. I'm very, very glad, that i can use scripts to operate with Windows API. So powerfull. But where is the problem. As i mention in the begining i need to start multiple putty-s, but also i need to order them on the screen and to resize them. Well... i think i can realize the order with MoveWindow API. In the parameters of that function there is also "width" and "height". But this isn't work. The window can be only in its standart mode or on its minimum size. So it can't be resized. I also saw, that there is module Win32::Console and there is many ways to manipulate the console.
Enough talk..to the question.
I've got the handle of the putty window allready. Is there a way to manipulate its size with Win32::Console. How can i resize allready started console application. I want to tell you, that MoveWindow API works with cmd.exe, but not with putty.
How can i use Win32::Console to manipulate the putty. Is there a way? Or it can't be done. Is there another way.
Any suggestions will be most appreciated !
Thanks in advance...
Best regards