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)

Change History (1)

comment:1 by guinness, 12 years ago

Resolution: No Bug
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.