SimpleWorker Posted June 30, 2008 Author Posted June 30, 2008 Did you read what I said? Move the {Alt Up} command AFTER the mouseclick. Indeed, thanks to you, it works at the moment. Finally, it works only in this small script in stand alone : ;SciTE Version 1.76 Mar 30 2008 21:05:14 Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("Guild Wars","") If Not WinActive("Guild Wars","") Then WinActivate("Guild Wars","") WinWaitActive("Guild Wars","") Sleep(2000) Send("{z down}") Sleep(675) Send("{z up}") $Found = 0 Send("{Alt Down}") Sleep(500) While $Found = 0 $Coord = PixelSearch( 400, 150, 800, 400, 0x99FF00, 10, 2 ) If NOT @Error Then $Found = 1 Send("{CTRLDOWN}") MouseClick("Left", $Coord[0], $Coord[1],2,0) Send("{CTRLUP}") EndIf wEnd Send("{Alt Up}") But when I integrate it into my final script it does not work any more: While moving the character clicks well the NPC Scoumaster Arne, but I do not understand why, he takes place near him and expects from long seconds before re-clicking him to take the quest... I believe that I am going to abandon... all this drives me crazy ... Finally, for a simple worker I shall have tried.. Thanks to you all for your invaluable help , and good continuation. And long life to America!!! I am a simple worker, but I do my best
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