Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by guinness

  • Resolution set to No Bug
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.