本帖最後由 cowtiti520 於 2009-10-8 14:05 編輯
#[HOTKEY]CTRL+1
function main
SetInputMode(3)
while true
GetActiveWindowXY(WinX0, WinY0)
if FindImageEx("寶箱.sel", Color(10, 10, 10), 9, 32, 1011,672, true, FoundX, FoundY) then
MouseRightClick(FoundX+2, FoundY+10)
end if
if FindImageEx("寶箱.Sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then
MouseRightClick(FoundX+2, FoundY+10)
end if
if FindImageEx("寶箱2.sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then
MouseRightClick(FoundX+2, FoundY+10)
end if
wend
end function
這是我自己小修改的腳本
要買的自行複製
自己用 勿散播!! |