Sign in to follow this  
Followers 0

Using an object -> active window looses focus ?

1 post in this topic


I 've got a question.

In the new beta when using an object the active window looses the focus while the object ist running...

I post the following test code by DaleHohm - he reprots that it is working well on his machine.

(Which means that in the notepad window should appear 'Who has focus?')

include <IE.au3>

WinActivate("Untitled - Notepad")

$oIE = _IECreate(0)
ConsoleWrite("Invisible Browser Created" & @CR)


Send("Who has focus?")
ConsoleWrite("String sent to whatever window has focus..." & @CR)

$oIE = 0

The code uses the ie.au3 from here

We both run the code with autoit-v3.1.1.87 and XP SP2... (on my machine it doesn't work properly unter 98se too).

Does anyone get the same behaviour ?


Share this post

Link to post
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
Sign in to follow this  
Followers 0