Thx Nailbiter
But Still their is Porblem
and this is my Script
Code:
coordmode, pixel, Relative
coordmode, mouse, Relative
WinActivate, Tibia
WinWaitActive, Tibia
sleep 4000
loop
{
PixelSearch,Px,Py,836,565,1029,724,0x7defde,50,fast
send, {CtrlDown}
MouseClickDrag, L, %Px%, %Py%, 878, 516
send, {CtrlUp}
Sleep, 1000
PixelSearch,Px,Py,836,565,1029,724,0x10c8f8,50,fast
send, {CtrlDown}
MouseClickDrag, L, %Px%, %Py%, 878, 516
send, {CtrlUp}
Sleep, 1000
}
^p::Pause ; Press CTRL + P to pause. Press it again to resume.
The Problem is :
I make loop and thats what i want but after it searched for those colors at those positions (pos 2) and take it to their other pos (pos 1) with clickdrag but after it finish draging it always click at the pos (pos 1)
I dont know why?,,,, maybe their is something with my script
I want to just if found the colors at the ( pos 2) take it with click drag + holding ctrl like my script to ( pos 1)
and if their is way to put many colors at same hotkey it will be good better than this if not its oki too ^^
I hope you fix it thx anyway