Jump to content

Window not activating

Recommended Posts

Hi there,

I have a program that is used to populate the options on a separate program's window. I does run the other program but doesn't seem to activate the window so the rest of the script can act on it. Could anyone offer some suggestions as to why this might be happening. I am using Windows 7 and AutoIt3. Thanks in advance.

At the top of the code is

include <GUIConstantsEx.au3>

#include <GUIComboBox.au3>

#include <WindowsConstants.au3>

#include <Array.au3>

#include <Process.au3>

Opt("TrayIconHide", 0) ;0=show, 1=hide tray icon



and later in the code is:





TrayTip("SUCCESS", "Window opened OK", 2)


If (WinActive("[CLASS:#32770]","")=1) Then

MsgBox(0, "Step", "So far so good")


I never get the "So far so good" text.

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

  • Recently Browsing   0 members

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