Post by songoku » 24 Oct 2018, 18:29
vielen Dank,
Ich habe mir gestern so weiter geholfen, aber deine Methode ist professioneller. Daher, nehme ich dein Code
Code: Select all
CoordMode, Pixel, Client
CoordMode, Mouse, Client
F4::
MouseMove, 684, 354
Sleep, 2000
PixelGetColor, foundColor, 447, 196, Fast RGB
if (foundColor = 0xFF0000)
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
msgbox, % Clipboard
goto, exit
}
PixelGetColor, foundColor, 565, 212, Fast RGB
if (foundColor = 0xFF0000)
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild1 = %clipboard%
sleep, 100^
Click, 482, 213
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild2 = %clipboard%
msgbox, %bild1% `r`n %bild2%
}
else
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild1 = %clipboard%
sleep, 100
Click, 482, 213
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild2 = %clipboard%
sleep, 200
Click, 562, 212
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild3 = %clipboard%
msgbox, %bild1% `r`n %bild2% `r`n %bild3%
}
exit:
vielen Dank,
Ich habe mir gestern so weiter geholfen, aber deine Methode ist professioneller. Daher, nehme ich dein Code :)
[code]CoordMode, Pixel, Client
CoordMode, Mouse, Client
F4::
MouseMove, 684, 354
Sleep, 2000
PixelGetColor, foundColor, 447, 196, Fast RGB
if (foundColor = 0xFF0000)
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
msgbox, % Clipboard
goto, exit
}
PixelGetColor, foundColor, 565, 212, Fast RGB
if (foundColor = 0xFF0000)
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild1 = %clipboard%
sleep, 100^
Click, 482, 213
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild2 = %clipboard%
msgbox, %bild1% `r`n %bild2%
}
else
{
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild1 = %clipboard%
sleep, 100
Click, 482, 213
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild2 = %clipboard%
sleep, 200
Click, 562, 212
sleep, 3500
Click, right, 730, 387
sleep, 200
SendInput, d
ClipWait, 2
sleep, 200
bild3 = %clipboard%
msgbox, %bild1% `r`n %bild2% `r`n %bild3%
}
exit: