Jump to content

can x/y come back


Xav
 Share

Recommended Posts

Merci c'est pas un forum d'anglais :D?

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 by Xav
Link to comment
Share on other sites

Merci c'est pas un forum d'anglais :D?

If @error Then
    $pos = MouseGetPos()
    MouseClick("right" ,798, 103 ,1 ,0)
    Sleep(390)
    MouseMove($pos[0],$pos[1])
EndIf
Cheers

Kurt

Edited 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

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 by blademonkey

---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Link to comment
Share on other sites

Jai trouve faut qu'il click sur le 2eme avant comment pourege faire ca :D?

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 by Xav
Link to comment
Share on other sites

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

Il existe également un site Web en langue française pour AutoIt à AutoIt Français: Communauté Française AutoIt.

Cheers!

:D

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...