Nitto Posted June 10, 2007 Share Posted June 10, 2007 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. Link to comment Share on other sites More sharing options...
ChrisL Posted June 10, 2007 Share Posted June 10, 2007 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") [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Nitto Posted June 11, 2007 Author Share Posted June 11, 2007 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now