Jump to content

Recommended Posts

Posted

i used AdlibEnable("checkPopUp",250)

And it didn't work!? :)

Sorry, lame joke. Please post some code and all the necessary stuff so we can help ;)

Posted

heres the code, sorry i forgot

Func checkPopUp()

if WinGetTitle("")=="Conflicting Settings" Then

MsgBox(0,"","Found");

EndIf

EndFunc

Posted

If you just want to know if it exists, I guess you could use this:

AdlibEnable("checkPopUp",250)
Func checkPopUp()
    if WinExists("Conflicting Settings") Then
        MsgBox(0,"","Found")
    EndIf
EndFunc 
While 1
    Sleep(25)
WEnd

Now if all you have in your code is that function + AdlibEnable then it won't work. Try this:

AdlibEnable("checkPopUp",250)
Func checkPopUp()
    if WinGetTitle("")="Conflicting Settings" Then
        MsgBox(0,"","Found")
    EndIf
EndFunc 
While 1
    Sleep(25)
WEnd

I don't see any reasong why that shouldn't work. It does here...

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...