blademonkey Posted January 22, 2008 Share Posted January 22, 2008 O.K. now what's your answer for him???if faut juste que tu enregistres les donnees d'avants. Montres nous ton scripte, ça nous aidera un peu. ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung Link to comment Share on other sites More sharing options...
Xav Posted January 22, 2008 Author Share Posted January 22, 2008 (edited) Merci c'est pas un forum d'anglais ? Comme tu peut le voir si la couleur n'est pas la il va clicker a MouseClick("right" ,798, 103 ,1 ,0) Mais sil click sur la couleur je veut qu'il reviene a son ancient point (puisque la couleur peut etre NIMPORTE ou sinon juste a refaire MouseClick("right" ,798, 103 ,1 ,0)) Send("{TAB}") Send("w") Sleep(400) Send("j") MouseClick("RIGHT") Sleep(700) Send("k") MouseClick("RIGHT") Sleep(800) Send("w") Sleep(400) Send("{f6}") MouseClick("RIGHT") Sleep(1000) Send("{ALTDOWN}") Send("{f1}") MouseClick("right" ,657, 66 ,1 ,0) Sleep(390) While 1 $Coord = PixelSearch( 654, 73, 665, 83, 0x948064 ) If @error Then MouseClick("right" ,798, 103 ,1 ,0) Sleep(390) EndIf Wend Send("{AltUp}") Sleep(375) Send("{f9}") MouseClick("Right") Edited January 22, 2008 by Xav Link to comment Share on other sites More sharing options...
/dev/null Posted January 22, 2008 Share Posted January 22, 2008 (edited) Merci c'est pas un forum d'anglais ? If @error Then $pos = MouseGetPos() MouseClick("right" ,798, 103 ,1 ,0) Sleep(390) MouseMove($pos[0],$pos[1]) EndIf Cheers Kurt Edited January 22, 2008 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
blademonkey Posted January 22, 2008 Share Posted January 22, 2008 (edited) je pense que tu auras besoin d'utiliser la fonction mousegetpos() frequemment. quelque chose comme ceci: dim $lastpost[2] While 1 $lastpos = mousegetpos() $Coord = PixelSearch( 654, 73, 665, 83, 0x948064 ) If @error Then MouseClick("right" ,798, 103 ,1 ,0) Sleep(390) EndIf Wend je ne vois pas vraiment ou ton script clique sur la couleur. quelle ligne? trops tard, l'autre m'a batut. Edited January 22, 2008 by blademonkey ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung Link to comment Share on other sites More sharing options...
Xav Posted January 22, 2008 Author Share Posted January 22, 2008 (edited) Jai trouve faut qu'il click sur le 2eme avant comment pourege faire ca ? Exemple ma souri est aller la 400-400 right click a 300-300 right click a La couleur mais fait quil scan le 400-400 , je crois ca ce peut pas xD Edited January 22, 2008 by Xav Link to comment Share on other sites More sharing options...
/dev/null Posted January 22, 2008 Share Posted January 22, 2008 je pense que tu auras besoin d'utiliser la fonction mousegetpos() frequemment. quelque chose comme ceci:je ne vois pas vraiment ou ton script clique sur la couleur. quelle ligne?trops tard, l'autre m'a batut.#467229 __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 23, 2008 Share Posted January 23, 2008 Il existe également un site Web en langue française pour AutoIt à AutoIt Français: Communauté Française AutoIt.Cheers! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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