thank you, you really are an ahk master and works fast.
Pink_Hex = 0xEF6AFF
msgbox, Ctrl+Q to pause
loop
{
check = 0
loop
{
PixelSearch, outx, outy, 130, 100, 870, 580, %Pink_Hex%,5,Fast
if ErrorLevel = 0
{
click, %outx%, %outy%
count = 0
check++
}
else ErrorLevel = 1
{
count++
}
sleep 1000
if (count > 3 and check > 3)
break
}
;;;;;;;;;;;;your macro goes under here;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
}
^q::pause
loop
{
mousegetpos, x, y
tooltip, x%x% y%y%,1,1
sleep 300
}
click 100,100 ; <- assume this is bag slot1 spot Click down click 200,200 ;<- assume this is the inputbox u need to drag to click 300,300 ;<- assume this is the button for composing click 100,100 ;<- repeat dragging for 9 times click down click 200,200 click 300,300 ....etc