Jump to content

two Windows - same Name


Recommended Posts

Hi @ all,

my english is really bad, so please be patient with me. Thank you. :whistle:

Here is my Question:

I've started a Programm two times (e.g. Browser). The Problem is, that

i dont know how to get the handle from the second Instance(?), because they

have the same Window-Title.

When i use WinGetHandle, i just get the handle from the first Instance.

(I've tried to rename the first Window, but it doesnt work.)

Can anyone help me please?

Thank you

Link to comment
Share on other sites

  • Moderators

http://www.autoitscript.com/forum/index.ph...st&p=310089

Change these 2 lines from:

If $nArray Then Return $aWList[$iCC][0]
$sHold &= $aWList[$iCC][0] & Chr(1)oÝ÷ Ù:ºÚ"µÍY  ÌÍÛ^H[]  ÌÍØUÓÝÉÌÍÚPÐ×VÌWBÌÍÜÒÛ [ÏH    ÌÍØUÓÝÉÌÍÚPÐ×VÌWH   [ÈÚJ

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...