Modify ↓
Opened 12 years ago
Closed 12 years ago
#2728 closed Bug (No Bug)
Getting a window handle from PID for more advanced programs
| Reported by: | lwc | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | Other | Severity: | None |
| Keywords: | pid, window handle | Cc: |
Description
http://www.autoitscript.com/wiki/FAQ#How_can_I_get_a_window_handle_when_all_I_have_is_a_PID.3F doesn't 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).
Can you update it to a more advanced script?
The reason for this it to launch a browser with multiple resolutions.
Attachments (0)
Note:
See TracTickets
for help on using tickets.

Ask on the Forum if you don't understand AutoIt please. The example works as is intended.