Jump to content

Recommended Posts

Posted

#include <StringConstants.au3>

Run('C:\ProgramsFiles\ESI\alg.exe')

WinWaitActive('[CLASS:PATCHER]')

sleep(3000)
MouseClick('left',957,174)

WinWaitActive('[CLASS:ApolloRuntimeContentWindow]')

$titleWin = WinGetTitle('[CLASS:ApolloRuntimeContentWindow]')
$titleTR = 'eee.eee eeeeeeeee'

;MsgBox('','','1'& $titleWin &'1')
;MsgBox('','','1'& $titleTR &'1')
sleep(3000)

if $titleWin = $titleTR Then
    MsgBox('','','ici3')
Endif 

Send('aaaa')
Send('{TAB}')
Send('bbbb')
Send('{ENTER}')

exit

 

 

Hi, 

I want to compare 2 strings but i never enter in the scope of the if when i use WinGetTitle but when i used the same content of the string (titleTR) to titleWin, it works .

(Sorry for my english)

Thank you for the answers.

Posted

How can i use ConsoleWrite ?

I use Notepad++ for editing the .au3 file and run this file by a double click but nothing happening with ConsoleWrite.

Thank you.

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
×
×
  • Create New...