Sign in to follow this  
Followers 0
hents

_WinWaitActivate doesnt work with firefox 4?

5 posts in this topic

_WinWaitActivate was good with firefox 4 awhile, but suddenly it went wrong. Do you have any ide how to fix?

Code:

_WinWaitActivate("[CLASS:MozillaWindowClass]","")

Func _WinWaitActivate($title,$text,$timeout=0)

WinWait($title,$text,$timeout)

If Not WinActive($title,$text) Then WinActivate($title,$text)

WinWaitActive($title,$text,$timeout)

EndFunc

Share this post


Link to post
Share on other sites



Try

_WinWaitActivate("[REGEXPCLASS:Mozilla]","")

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Try

_WinWaitActivate("[REGEXPCLASS:Mozilla]","")

Thanks, but it doesnt work. An extra curiosity is that, if I use autoit window info on Firefox, windowinfo doesnt find any instance.

Share this post


Link to post
Share on other sites

You state it suddenly went wrong and that it doesnt work. Well, what seems to be the issue?

I notice on Windows 7 that windows do not raise up through the z order with WinActivate() but they do become active (focused). The class of "MozillaWindowClass" works for me with WinActivate() with the side effect I just previously mentioned. I usually notice other programs do not raise up in the z order when becoming active so I assume it is a new Windows 7 behavior.

Share this post


Link to post
Share on other sites

You state it suddenly went wrong and that it doesnt work. Well, what seems to be the issue?

I notice on Windows 7 that windows do not raise up through the z order with WinActivate() but they do become active (focused). The class of "MozillaWindowClass" works for me with WinActivate() with the side effect I just previously mentioned. I usually notice other programs do not raise up in the z order when becoming active so I assume it is a new Windows 7 behavior.

I don't think so, I've the same behaviour with Windows XP and FF 4. I had to return to FF 3.5. Does anybody help?

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