So, I'm very new to AutoIt and programming overall. I've encountered a problem when I was trying to make a script for automation of several windows at the same time, some windows in which the title is always changing and never the same.
It requires me to ControlSend/ControlClick several windows at the same time. I can easily get the PID with ProcessExists, but can I use the PID somehow to find out what the ControlHWND is or what the Window Title is? The windowtitle is constantly changing. And as I've understood the controlHWND is different every time I start the application anew? I've been around google quite a bit and I've just been going in circles trying to find a solution. Tried WinList(), tried _ProcessGetName, WinGetHandle(Can't use this since the title changes) and a few more. If only I could use the PID to fetch the WindowTitle..
Any help is greatly appreciated, or tips/pointers in the right direction.
Thanks in advance /Lip.
It requires me to ControlSend/ControlClick several windows at the same time. I can easily get the PID with ProcessExists, but can I use the PID somehow to find out what the ControlHWND is or what the Window Title is? The windowtitle is constantly changing. And as I've understood the controlHWND is different every time I start the application anew? I've been around google quite a bit and I've just been going in circles trying to find a solution. Tried WinList(), tried _ProcessGetName, WinGetHandle(Can't use this since the title changes) and a few more. If only I could use the PID to fetch the WindowTitle..
Any help is greatly appreciated, or tips/pointers in the right direction.
Thanks in advance /Lip.