Jump to content

I think its GetWinTitle Messing this up...

Recommended Posts

I am trying to make this check if i have a script check in my inbox. But everytime it gets to wingettitle it gets messed up and doesnt do the rest of the if statement.. anyone fix it or help me? Happy thanksgiving btw everyone...

#include <IE.au3> 
$mail = ""
$mail = TimerInit()

While 1
    $dif = Int(TimerDiff($mail)/1000)
    If $dif >= (1 * 10) Then 
        $mail = Timerinit()

Func MyFunction()
_IELinkClickByText($oIE, "Automatic Script Check")
If WinGetTitle("TMN2 - Microsoft Internet Explorer")  Then
    ElseIf WinGetTitle("TMN2 - Bloody Vendetta - Microsoft Internet Explorer") Then
EndFunc  ;==>MyFunction
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...