Search the Community
Showing results for tags 'window handle'.
-
In an Autoit application I am sending text to a field that is the window handle value. That application stores this value in an XML file. Of course I cant open up that XML file and write to it because the app has that file open. So now I am using "Send" to send text to the app. It would be sooo much cleaner if I could update the associated XML file before the app is opened with a valid window handle value. When the app is opened, the window handle is the value that I somehow created. Is this possible ? (Win 7) Thanks
-
I know it was discussed before, but the Wiki supposedly has an official solution to "How can I get a window handle when all I have is a PID?". Alas, it doesn't seem to work for anything more complicated than Notepad. It completely fails, for example, with IE & Firefox (even with "-new-window URL"). In addition, if you try to run multiple instances of the same program, than it fails with programs such as Chrome (i.e. it only works on the first instance). I've tried the various alternative unofficial forum versions as well, to no avail. The reason why it's so important is, for example, launching a browser with multiple resolutions. Thanks!