Jump to content
Sign in to follow this  
Nitto

Newbie Question, some Help Please

Recommended Posts

Nitto

Hi i'm new to this and just wanted to automate this program, the game nitto 1320 challenge, just want at the moment just to run it but having some problems could anybody help me please.

Here is the code i use

AutoItSetOption ("CaretCoordMode", 0)

WinMinimizeAll()

Run("D:\Nitto\1320v152S.exe")

WinWaitActive("Nitto 1320 Challenge")

WinActivate("Nitto 1320 Challenge")

Sleep(500)

MouseClick("left", 491, 571)

Send("Username")

Sleep(500)

MouseClick("left", 491, 614)

Send("Password")

Sleep(500)

MouseClick("left", 750, 583)

The Problem is that when i run the program and try to log in running the script i get a message that the game is out dated, but when running the program normal withou any script just by my self i don't get this message.

The Game is Nitto 1320 Challenge.

Share this post


Link to post
Share on other sites
ChrisL
Nitto

I would say that you need to specify the working directory for the program when you launch it. try...

Run("D:\Nitto\1320v152S.exe","D:\Nitto")

Thanks buddy now it runs smoothly

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  

×